From: Adrian Bunk Date: Wed, 30 Jan 2008 20:02:10 +0000 (+0200) Subject: ibmlana_adapter_names[] must be __devinitdata X-Git-Tag: v2.6.25-rc1~1065^2~58 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=976006f10b4ff1c8440436b92571b1fcedaf3cd0;p=linux-2.6 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 46e2c52c78..22a1f2992d 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 };