diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-26 10:19:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-26 22:22:00 -0800 |
commit | 3af0fe39751d69d6dc8008712ee4cee53705f7f9 (patch) | |
tree | 82e39d715c455b359d4e1a65e2c84236d73c62b8 /drivers/net/sundance.c | |
parent | b5defaa5d610666ef4d83fef70f0625a202314ea (diff) | |
download | linux-3af0fe39751d69d6dc8008712ee4cee53705f7f9.tar.gz linux-3af0fe39751d69d6dc8008712ee4cee53705f7f9.tar.bz2 linux-3af0fe39751d69d6dc8008712ee4cee53705f7f9.zip |
sundance: 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/sundance.c')
-rw-r--r-- | drivers/net/sundance.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c index 43695b76606f..c399b1955c1e 100644 --- a/drivers/net/sundance.c +++ b/drivers/net/sundance.c @@ -109,8 +109,9 @@ static char *media[MAX_UNITS]; #endif /* These identify the driver base version and may not be removed. */ -static char version[] = -KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n"; +static const char version[] __devinitconst = + KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE + " Written by Donald Becker\n"; MODULE_AUTHOR("Donald Becker <becker@scyld.com>"); MODULE_DESCRIPTION("Sundance Alta Ethernet driver"); |