summaryrefslogtreecommitdiffstats
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-26 10:19:29 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-26 22:21:58 -0800
commit23410495d7f2026b3003642a1931b8366d423ce0 (patch)
treea979461788844c0d5d3c45f05e574ef0dc59b77b /drivers/net/natsemi.c
parentda38075cd1c7fc89b8730e907d63b9bf718586bb (diff)
downloadop-kernel-dev-23410495d7f2026b3003642a1931b8366d423ce0.zip
op-kernel-dev-23410495d7f2026b3003642a1931b8366d423ce0.tar.gz
natsemi: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r--drivers/net/natsemi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index c23a5862..c9bfe4e 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -127,7 +127,7 @@ static int full_duplex[MAX_UNITS];
#define NATSEMI_RX_LIMIT 2046 /* maximum supported by hardware */
/* These identify the driver base version and may not be removed. */
-static char version[] __devinitdata =
+static const char version[] __devinitconst =
KERN_INFO DRV_NAME " dp8381x driver, version "
DRV_VERSION ", " DRV_RELDATE "\n"
KERN_INFO " originally by Donald Becker <becker@scyld.com>\n"
OpenPOWER on IntegriCloud