From: roel kluin Date: Mon, 1 Dec 2008 21:13:51 +0000 (-0800) Subject: spi documentation: use __initdata on struct X-Git-Tag: v2.6.28-rc7~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dc8c214a9c37eb288b1c4782632649e55d251c68;p=linux-2.6-omap-h63xx.git spi documentation: use __initdata on struct Use __initdata for data, not __init. Signed-off-by: Roel Kluin Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 8bae2f018d3..0f5122eb282 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) {