ibmlana_adapter_names[] must be __devinitdata
authorAdrian Bunk <bunk@kernel.org>
Wed, 30 Jan 2008 20:02:10 +0000 (22:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:26:10 +0000 (04:26 -0800)
commit976006f10b4ff1c8440436b92571b1fcedaf3cd0
tree007644fef5b839debdefbc20501820e9170199e0
parentde4e7c889927e37099ef7d3c32b75823a17c9009
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>
drivers/net/ibmlana.c