Commit dc8c214a9c37eb288b1c4782632649e55d251c68

Authored by roel kluin
Committed by Linus Torvalds
1 parent dc924efb52

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

Documentation/spi/spi-summary
... ... @@ -215,7 +215,7 @@
215 215 /* if your mach-* infrastructure doesn't support kernels that can
216 216 * run on multiple boards, pdata wouldn't benefit from "__init".
217 217 */
218   - static struct mysoc_spi_data __init pdata = { ... };
  218 + static struct mysoc_spi_data __initdata pdata = { ... };
219 219  
220 220 static __init board_init(void)
221 221 {