From: Adrian Bunk Date: Tue, 10 Jul 2007 12:44:37 +0000 (+0200) Subject: tokenring/3c359.c:xl_init() must be __devinit X-Git-Tag: MMI-PSA29.97-13-9~42340^2~19 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b5587cdd9f2a8dd4a010a93a6380051d43a3c16;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index e22a3f5333ef..9f1b6ab9c228 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c @@ -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 ;