diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-30 15:02:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-03 07:26:10 -0500 |
commit | 976006f10b4ff1c8440436b92571b1fcedaf3cd0 (patch) | |
tree | 007644fef5b839debdefbc20501820e9170199e0 /drivers/net/ibmlana.c | |
parent | de4e7c889927e37099ef7d3c32b75823a17c9009 (diff) |
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 <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ibmlana.c')
-rw-r--r-- | drivers/net/ibmlana.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibmlana.c b/drivers/net/ibmlana.c index 46e2c52c786..22a1f2992d2 100644 --- a/drivers/net/ibmlana.c +++ b/drivers/net/ibmlana.c | |||
@@ -901,7 +901,7 @@ static short ibmlana_adapter_ids[] __initdata = { | |||
901 | 0x0000 | 901 | 0x0000 |
902 | }; | 902 | }; |
903 | 903 | ||
904 | static char *ibmlana_adapter_names[] __initdata = { | 904 | static char *ibmlana_adapter_names[] __devinitdata = { |
905 | "IBM LAN Adapter/A", | 905 | "IBM LAN Adapter/A", |
906 | NULL | 906 | NULL |
907 | }; | 907 | }; |