From: Adrian Bunk Date: Wed, 30 Jan 2008 20:02:08 +0000 (+0200) Subject: ibmlana_init_one() must be __devinit X-Git-Tag: MMI-PSA29.97-13-9~37551^2~56 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b54e4f8346c0c94c5393738e2ce95faf5ca30acc;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ibmlana_init_one() must be __devinit This patch fixes the following section mismatch: <-- snip --> ... WARNING: drivers/net/built-in.o(.text+0x1148a5): Section mismatch in reference from the function ibmlana_init_one() to the variable .init.data:ibmlana_adapter_names ... <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- diff --git a/drivers/net/ibmlana.c b/drivers/net/ibmlana.c index 22a1f2992d2f..95e3464068db 100644 --- a/drivers/net/ibmlana.c +++ b/drivers/net/ibmlana.c @@ -906,7 +906,7 @@ static char *ibmlana_adapter_names[] __devinitdata = { NULL }; -static int ibmlana_init_one(struct device *kdev) +static int __devinit ibmlana_init_one(struct device *kdev) { struct mca_device *mdev = to_mca_device(kdev); struct net_device *dev;