Skip to content

Commit

Permalink
tokenring/3c359.c:xl_init() must be __devinit
Browse files Browse the repository at this point in the history
This patch fixes the following section mismatch:

<--  snip  -->

...
  MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x361ef1): Section mismatch: reference to .init.text:xl_init (between 'xl_probe' and 'xl_hw_reset')
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Jul 10, 2007
1 parent 4e50a8e commit 9b5587c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tokenring/3c359.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ static int __devinit xl_probe(struct pci_dev *pdev,
}


static int __init xl_init(struct net_device *dev)
static int __devinit xl_init(struct net_device *dev)
{
struct xl_private *xl_priv = (struct xl_private *)dev->priv ;

Expand Down

0 comments on commit 9b5587c

Please sign in to comment.