summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-12-12 12:39:37 +0400
committerDavid S. Miller <davem@davemloft.net>2013-12-12 23:02:20 +0400
commit335802d1c297a2851d7140d84af6ec05c1d3cf3f (patch)
tree72dfb6b56ebd440a1cbd7fcf99163b6f7cb92fbb /drivers/net/ethernet/8390
parent299603e8370a93dd5d8e8d800f0dff1ce2c53d36 (diff)
downloadlinux-335802d1c297a2851d7140d84af6ec05c1d3cf3f.tar.xz
net: eth: 8390: remove section warning in etherh.c
Commit c45f812f0280 ('8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature') ended up moving the printout of version[] from something that will be compiled out due to defines, to something that is now evaluated at runtime. That means that what always used to be an access to an __initdata string from non-__init code started showing up as a section mismatch when it didn't before. All other 8390 versions skip __initdata on the version string, and starting to annotate the whole chain of callers with __init seems like more churn than it's worth on this driver, so remove it from etherh.c as well. Fixes: c45f812f0280 ('8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature') Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390')
-rw-r--r--drivers/net/ethernet/8390/etherh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/etherh.c b/drivers/net/ethernet/8390/etherh.c
index b15e482a7c63..b36ee9e0d220 100644
--- a/drivers/net/ethernet/8390/etherh.c
+++ b/drivers/net/ethernet/8390/etherh.c
@@ -59,7 +59,7 @@
#define DRV_NAME "etherh"
#define DRV_VERSION "1.11"
-static char version[] __initdata =
+static char version[] =
"EtherH/EtherM Driver (c) 2002-2004 Russell King " DRV_VERSION "\n";
#include "lib8390.c"