Commit 976006f1 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de4e7c88
...@@ -901,7 +901,7 @@ static short ibmlana_adapter_ids[] __initdata = { ...@@ -901,7 +901,7 @@ static short ibmlana_adapter_ids[] __initdata = {
0x0000 0x0000
}; };
static char *ibmlana_adapter_names[] __initdata = { static char *ibmlana_adapter_names[] __devinitdata = {
"IBM LAN Adapter/A", "IBM LAN Adapter/A",
NULL NULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment