net: fix section mismatches
Fix build warnings like the following: WARNING: drivers/net/built-in.o(.data+0x12434): Section mismatch in reference from the variable madgemc_driver to the variable .init.data:madgemc_adapter_ids And add some consts to EISA device ID tables along the way. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2b7b431858
commit
e5cb966c08
@@ -727,7 +727,7 @@ static int __devexit madgemc_remove(struct device *device)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static short madgemc_adapter_ids[] __initdata = {
|
||||
static const short madgemc_adapter_ids[] __devinitconst = {
|
||||
0x002d,
|
||||
0x0000
|
||||
};
|
||||
|
Reference in New Issue
Block a user