netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata
@ 2013-08-07 10:38 Sachin Kamat
  2013-08-07 10:38 ` [PATCH 2/2] net: via-rhine: " Sachin Kamat
  2013-08-09 20:24 ` [PATCH 1/2] net: wan: sbni: " David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-08-07 10:38 UTC (permalink / raw)
  To: netdev; +Cc: davem, sachin.kamat, rl

__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>
---
 drivers/net/wan/sbni.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index d43f4ef..5bbcb5e 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 */
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-09 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07 10:38 [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata Sachin Kamat
2013-08-07 10:38 ` [PATCH 2/2] net: via-rhine: " Sachin Kamat
2013-08-09 20:24   ` David Miller
2013-08-09 20:24 ` [PATCH 1/2] net: wan: sbni: " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).