aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-08 01:15:10 -0400
committerMark Brown <broonie@linaro.org>2013-08-08 06:43:44 -0400
commit61679efe979674d794988c2b96b02b2a80d96d96 (patch)
tree0fa3208e8265a02922dc028bb6ce4bb9fa581085 /Documentation/spi
parentc095ba7224d8edc71dcef0d655911399a8bd4a3f (diff)
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 <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/spi')
-rw-r--r--Documentation/spi/spi-summary2
1 files changed, 1 insertions, 1 deletions
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:
215 /* if your mach-* infrastructure doesn't support kernels that can 215 /* if your mach-* infrastructure doesn't support kernels that can
216 * run on multiple boards, pdata wouldn't benefit from "__init". 216 * run on multiple boards, pdata wouldn't benefit from "__init".
217 */ 217 */
218 static struct mysoc_spi_data __initdata pdata = { ... }; 218 static struct mysoc_spi_data pdata __initdata = { ... };
219 219
220 static __init board_init(void) 220 static __init board_init(void)
221 { 221 {