diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 15:02:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:26:10 -0500 |
commit | de4e7c889927e37099ef7d3c32b75823a17c9009 (patch) | |
tree | 645a14f714add8cfffad698f216ee5adae00aefd | |
parent | 237c5e8ee2328c31a130d35e32f7a2260c4512aa (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>
-rw-r--r-- | drivers/net/via-rhine.c | 2 |
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 | ||
609 | static void rhine_hw_init(struct net_device *dev, long pioaddr) | 609 | static 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 | ||