]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
tokenring/3c359.c:xl_init() must be __devinit
authorAdrian Bunk <bunk@stusta.de>
Tue, 10 Jul 2007 12:44:37 +0000 (14:44 +0200)
committerJeff Garzik <jeff@garzik.org>
Tue, 10 Jul 2007 16:24:42 +0000 (12:24 -0400)
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>
drivers/net/tokenring/3c359.c

index e22a3f5333ef40b25f7b694b79a300f310eb80b9..9f1b6ab9c228485d5d5cdc3e1b62461e597e9bdc 100644 (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 ;