Skip to contentSkip to conversation

ibmlana_adapter_names[] must be __devinitdata

PATCH New Adrian Bunk 1 participant 1 message Jan 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 -->

---
50492d4a3ae5358858e6db3572370fb874203074

drivers/net/ibmlana.c +1 -1
index 4ccc1cd..95e3464 100644
@@ -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
 };