spi/documentation: Fix usage of __initdata
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 9 Aug 2013 16:19:43 +0000 (09:19 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Aug 2013 10:52:28 +0000 (12:52 +0200)
__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section. Fix
the example code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/spi/spi-summary

index 2331eb2..f21edb9 100644 (file)
@@ -215,7 +215,7 @@ So for example arch/.../mach-*/board-*.c files might have code like:
        /* if your mach-* infrastructure doesn't support kernels that can
         * run on multiple boards, pdata wouldn't benefit from "__init".
         */
-       static struct mysoc_spi_data __initdata pdata = { ... };
+       static struct mysoc_spi_data pdata __initdata = { ... };
 
        static __init board_init(void)
        {