aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-30 15:02:05 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-03 07:26:10 -0500
commitde4e7c889927e37099ef7d3c32b75823a17c9009 (patch)
tree645a14f714add8cfffad698f216ee5adae00aefd /drivers/net/via-rhine.c
parent237c5e8ee2328c31a130d35e32f7a2260c4512aa (diff)
via-rhine.c:rhine_hw_init() must be __devinit
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> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 87c180b563d3..7c851b1e6daa 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)
606} 606}
607#endif 607#endif
608 608
609static void rhine_hw_init(struct net_device *dev, long pioaddr) 609static void __devinit rhine_hw_init(struct net_device *dev, long pioaddr)
610{ 610{
611 struct rhine_private *rp = netdev_priv(dev); 611 struct rhine_private *rp = netdev_priv(dev);
612 612