diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-26 10:19:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-26 22:21:55 -0800 |
commit | 8937bb7b44b991c2535ad917e925c2daa2cd6096 (patch) | |
tree | c4d85c57056205f005cbacf1d081d53ca0ffd831 | |
parent | 86de79b6d058df87fdf025c6c484b37340fb0205 (diff) | |
download | linux-8937bb7b44b991c2535ad917e925c2daa2cd6096.tar.bz2 |
ne2k-pci: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ne2k-pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c index f090d3b9ec94..eb66f658f9d1 100644 --- a/drivers/net/ne2k-pci.c +++ b/drivers/net/ne2k-pci.c @@ -62,8 +62,9 @@ static int options[MAX_UNITS]; #include "8390.h" /* These identify the driver base version and may not be removed. */ -static char version[] __devinitdata = -KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " D. Becker/P. Gortmaker\n"; +static const char version[] __devinitconst = + KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE + " D. Becker/P. Gortmaker\n"; #if defined(__powerpc__) #define inl_le(addr) le32_to_cpu(inl(addr)) |