Skip to content

Commit

Permalink
olympic_open() must be __devinit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Feb 3, 2008
1 parent 976006f commit de11743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tokenring/olympic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit de11743

Please sign in to comment.