From: Adrian Bunk Date: Wed, 30 Jan 2008 20:02:05 +0000 (+0200) Subject: via-rhine.c:rhine_hw_init() must be __devinit X-Git-Tag: v2.6.25-rc1~1065^2~59 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=de4e7c889927e37099ef7d3c32b75823a17c9009;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index 87c180b563d..7c851b1e6da 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);