LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] via-rhine.c:rhine_hw_init() must be __devinit
@ 2008-01-30 20:02 Adrian Bunk
  2008-02-01 18:41 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-30 20:02 UTC (permalink / raw)
  To: rl, jgarzik; +Cc: netdev, linux-kernel

Thie patch fixes the following section mismatch:

<--  snip  -->

...
WARNING: drivers/net/built-in.o(.text+0xdd840): Section mismatch in reference from the function rhine_hw_init() to the function .devinit.text:rhine_reload_eeprom()
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
a79db62b73dab2b71fa2f47398fd39364d7aae31 
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 87c180b..7c851b1 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -606,7 +606,7 @@ static int rhine_napipoll(struct napi_struct *napi, int budget)
 }
 #endif
 
-static void rhine_hw_init(struct net_device *dev, long pioaddr)
+static void __devinit rhine_hw_init(struct net_device *dev, long pioaddr)
 {
 	struct rhine_private *rp = netdev_priv(dev);
 


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

* Re: [2.6 patch] via-rhine.c:rhine_hw_init() must be __devinit
  2008-01-30 20:02 [2.6 patch] via-rhine.c:rhine_hw_init() must be __devinit Adrian Bunk
@ 2008-02-01 18:41 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-02-01 18:41 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: rl, netdev, linux-kernel

applied the net driver portion of these patches...



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

end of thread, other threads:[~2008-02-01 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-30 20:02 [2.6 patch] via-rhine.c:rhine_hw_init() must be __devinit Adrian Bunk
2008-02-01 18:41 ` Jeff Garzik

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).