diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-07 06:38:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-09 16:24:26 -0400 |
commit | 62a8370676e66f11cda78c63ace0f011b8a5234d (patch) | |
tree | d35f3f3e1c0c6a3a26fdcf76f0127384cda7295b | |
parent | 71acc0ddd499cc323199fb1ae350ce9ea0744352 (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.c | 2 |
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 |
178 | typedef u32 iarr[]; | 178 | typedef u32 iarr[]; |
179 | static iarr __initdata *dest[5] = { &io, &irq, &baud, &rxl, &mac }; | 179 | static 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 */ |