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

index 4671436ecf0ed236d3263e9f0ac70096fbe4e6ec..880eaf07413b0fc33ce99a404d27bf859a60e207 100644 (file)
@@ -109,8 +109,9 @@ static const int multicast_filter_limit = 32;
 #include <linux/dmi.h>
 
 /* These identify the driver base version and may not be removed. */
-static char version[] __devinitdata =
-KERN_INFO DRV_NAME ".c:v1.10-LK" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n";
+static const char version[] __devinitconst =
+       KERN_INFO DRV_NAME ".c:v1.10-LK" DRV_VERSION " " DRV_RELDATE
+       " Written by Donald Becker\n";
 
 /* This driver was written to use PCI memory space. Some early versions
    of the Rhine may only work correctly with I/O space accesses. */