aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-18 09:31:20 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-19 01:59:04 -0400
commite5cb966c0838e4da43a3b0751bdcac7fe719f7b4 (patch)
treef12e281104fd5dddad3dad15cf6df6151427ec6e /drivers/net/tokenring
parent2b7b431858c284b62c18baaf2cea571be2797d5a (diff)
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>
Diffstat (limited to 'drivers/net/tokenring')
-rw-r--r--drivers/net/tokenring/madgemc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/madgemc.c b/drivers/net/tokenring/madgemc.c
index 2bedc0ace812..1313aa1315f0 100644
--- a/drivers/net/tokenring/madgemc.c
+++ b/drivers/net/tokenring/madgemc.c
@@ -727,7 +727,7 @@ static int __devexit madgemc_remove(struct device *device)
727 return 0; 727 return 0;
728} 728}
729 729
730static short madgemc_adapter_ids[] __initdata = { 730static const short madgemc_adapter_ids[] __devinitconst = {
731 0x002d, 731 0x002d,
732 0x0000 732 0x0000
733}; 733};