]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sundance: fix non-constant printk warnings
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 26 Feb 2009 10:19:33 +0000 (10:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 06:22:00 +0000 (22:22 -0800)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sundance.c

index 43695b76606fdc64331ae0954e51dd3447eb6628..c399b1955c1eec016a037e67059f57d2f3f8eebc 100644 (file)
@@ -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");