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

olympic_open() must be __devinit

This patch fixes the following section mismatch:

<--  snip  -->

...
WARNING: drivers/net/built-in.o(.text+0x155573): Section mismatch in reference from the function olympic_open() to the function .devinit.text:olympic_init()
...

<--  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 976006f1
...@@ -434,7 +434,7 @@ static int __devinit olympic_init(struct net_device *dev) ...@@ -434,7 +434,7 @@ static int __devinit olympic_init(struct net_device *dev)
} }
static int olympic_open(struct net_device *dev) static int __devinit olympic_open(struct net_device *dev)
{ {
struct olympic_private *olympic_priv=netdev_priv(dev); struct olympic_private *olympic_priv=netdev_priv(dev);
u8 __iomem *olympic_mmio=olympic_priv->olympic_mmio,*init_srb; u8 __iomem *olympic_mmio=olympic_priv->olympic_mmio,*init_srb;
......
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