From: Adrian Bunk Date: Wed, 30 Jan 2008 20:02:10 +0000 (+0200) Subject: ibmlana_adapter_names[] must be __devinitdata X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=976006f10b4ff1c8440436b92571b1fcedaf3cd0;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ibmlana_adapter_names[] must be __devinitdata This patch fixes the following section mismatch: <-- snip --> ... WARNING: drivers/net/built-in.o(.devinit.text+0x1baa4): 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 46e2c52c7862..22a1f2992d2f 100644 --- a/drivers/net/ibmlana.c +++ b/drivers/net/ibmlana.c @@ -901,7 +901,7 @@ static short ibmlana_adapter_ids[] __initdata = { 0x0000 }; -static char *ibmlana_adapter_names[] __initdata = { +static char *ibmlana_adapter_names[] __devinitdata = { "IBM LAN Adapter/A", NULL };