diff options
author | roel kluin <roel.kluin@gmail.com> | 2008-12-01 13:13:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-01 19:55:24 -0800 |
commit | dc8c214a9c37eb288b1c4782632649e55d251c68 (patch) | |
tree | afcb676adacaf833911caf8b30d130f5a9124849 /Documentation | |
parent | dc924efb52ba9e4dffec5b15ae2242b894198139 (diff) | |
download | kernel_samsung_crespo-dc8c214a9c37eb288b1c4782632649e55d251c68.zip kernel_samsung_crespo-dc8c214a9c37eb288b1c4782632649e55d251c68.tar.gz kernel_samsung_crespo-dc8c214a9c37eb288b1c4782632649e55d251c68.tar.bz2 |
spi documentation: use __initdata on struct
Use __initdata for data, not __init.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-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 8bae2f0..0f5122e 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 __init pdata = { ... }; + static struct mysoc_spi_data __initdata pdata = { ... }; static __init board_init(void) { |