From: Sachin Kamat Date: Fri, 9 Aug 2013 16:19:43 +0000 (-0700) Subject: spi/documentation: Fix usage of __initdata X-Git-Tag: firefly_0821_release~176^2~5412^2~26 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5f5e39a152fb89e97253d5112df12d6a397beb2f;p=firefly-linux-kernel-4.4.55.git spi/documentation: Fix usage of __initdata __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 Acked-by: Rob Landley Signed-off-by: Jiri Kosina --- diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 2331eb214146..f21edb983413 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary @@ -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) {