Commit de4e7c88 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 237c5e8e
...@@ -606,7 +606,7 @@ static int rhine_napipoll(struct napi_struct *napi, int budget) ...@@ -606,7 +606,7 @@ static int rhine_napipoll(struct napi_struct *napi, int budget)
} }
#endif #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); struct rhine_private *rp = netdev_priv(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment