aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-07 06:38:15 -0400
committerDavid S. Miller <davem@davemloft.net>2013-08-09 16:24:26 -0400
commit62a8370676e66f11cda78c63ace0f011b8a5234d (patch)
treed35f3f3e1c0c6a3a26fdcf76f0127384cda7295b
parent71acc0ddd499cc323199fb1ae350ce9ea0744352 (diff)
net: wan: sbni: Fix incorrect placement of __initdata
__initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/wan/sbni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index d43f4efd3e07..5bbcb5e3ee0c 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -176,7 +176,7 @@ static u32 mac[ SBNI_MAX_NUM_CARDS ] __initdata;
176 176
177#ifndef MODULE 177#ifndef MODULE
178typedef u32 iarr[]; 178typedef u32 iarr[];
179static iarr __initdata *dest[5] = { &io, &irq, &baud, &rxl, &mac }; 179static iarr *dest[5] __initdata = { &io, &irq, &baud, &rxl, &mac };
180#endif 180#endif
181 181
182/* A zero-terminated list of I/O addresses to be probed on ISA bus */ 182/* A zero-terminated list of I/O addresses to be probed on ISA bus */