tokenring/3c359.c:xl_init() must be __devinit

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 <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
Adrian Bunk 2007-07-10 14:44:37 +02:00 • committed by Jeff Garzik
commit 9b5587cdd9

View file

@ -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 ;