summaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/olympic.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-30 21:02:07 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-03 13:26:11 +0100
commitde11743e23b83e2ddf99a757ab2ebb62bd4c29f0 (patch)
tree989abecc0de0702c9e1abbea9cd0786b34d2257d /drivers/net/tokenring/olympic.c
parentibmlana_adapter_names[] must be __devinitdata (diff)
downloadlinux-de11743e23b83e2ddf99a757ab2ebb62bd4c29f0.tar.xz
linux-de11743e23b83e2ddf99a757ab2ebb62bd4c29f0.zip
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: 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/tokenring/olympic.c')
-rw-r--r--drivers/net/tokenring/olympic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/olympic.c b/drivers/net/tokenring/olympic.c
index e7b4adc5c4e7..433c994ea9d8 100644
--- a/drivers/net/tokenring/olympic.c
+++ b/drivers/net/tokenring/olympic.c
@@ -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);
u8 __iomem *olympic_mmio=olympic_priv->olympic_mmio,*init_srb;