diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-07 12:38:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-09 22:24:26 +0200 |
commit | 62a8370676e66f11cda78c63ace0f011b8a5234d (patch) | |
tree | d35f3f3e1c0c6a3a26fdcf76f0127384cda7295b /drivers/net/wan | |
parent | Revert "net: sctp: convert sctp_checksum_disable module param into sctp sysctl" (diff) | |
download | linux-62a8370676e66f11cda78c63ace0f011b8a5234d.tar.xz linux-62a8370676e66f11cda78c63ace0f011b8a5234d.zip |
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>
Diffstat (limited to 'drivers/net/wan')
-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; #ifndef MODULE typedef u32 iarr[]; -static iarr __initdata *dest[5] = { &io, &irq, &baud, &rxl, &mac }; +static iarr *dest[5] __initdata = { &io, &irq, &baud, &rxl, &mac }; #endif /* A zero-terminated list of I/O addresses to be probed on ISA bus */ |