From: Stephen Hemminger Date: Thu, 26 Feb 2009 10:19:33 +0000 (+0000) Subject: sundance: fix non-constant printk warnings X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3af0fe39751d69d6dc8008712ee4cee53705f7f9;p=linux-beck.git sundance: fix non-constant printk warnings Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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 "); MODULE_DESCRIPTION("Sundance Alta Ethernet driver");