mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-30 12:49:36 +00:00
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 <bunk@stusta.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
4e50a8e3c5
commit
9b5587cdd9
1 changed files with 1 additions and 1 deletions
|
@ -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 ;
|
||||
|
||||
|
|
Loading…
Reference in a new issue