Commit 9b5587cd authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 4e50a8e3
......@@ -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 ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment