spi documentation: use __initdata on struct
authorroel kluin <[email protected]>
Mon, 1 Dec 2008 21:13:51 +0000 (13:13 -0800)
committerLinus Torvalds <[email protected]>
Tue, 2 Dec 2008 03:55:24 +0000 (19:55 -0800)
Use __initdata for data, not __init.

Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/spi/spi-summary

index 8bae2f018d342cf6f027ec5a2dc3ace9ad709bb8..0f5122eb282bad1616b4bff089af95ac35e33a1f 100644 (file)
@@ -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)
        {