]> Pileus Git - ~andy/linux/commitdiff
net: wan: sbni: Fix incorrect placement of __initdata
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 7 Aug 2013 10:38:15 +0000 (16:08 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2013 20:24:26 +0000 (13:24 -0700)
__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>
drivers/net/wan/sbni.c

index d43f4efd3e07abc6d62fff0343cfd46cec609097..5bbcb5e3ee0c0cf5e9fefff42fb6892541e14548 100644 (file)
@@ -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 */