diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-09 20:19:43 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-08-20 14:52:28 +0400 |
commit | 5f5e39a152fb89e97253d5112df12d6a397beb2f (patch) | |
tree | e070672177f142eab95f0b2387f191cccbf9502b /Documentation/spi | |
parent | c96bd35036a7e20123984f20b546b4e4a19f3f51 (diff) | |
download | linux-5f5e39a152fb89e97253d5112df12d6a397beb2f.tar.xz |
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>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/spi')
-rw-r--r-- | Documentation/spi/spi-summary | 2 |
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: /* 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) { |