diff mbox

[10/15] via-rhine: fix non-constant printk warnings

Message ID 20090226201950.124821722@vyatta.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

stephen hemminger Feb. 26, 2009, 8:19 p.m. UTC
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
diff mbox

Patch

--- a/drivers/net/via-rhine.c	2009-02-26 09:54:22.000000000 -0800
+++ b/drivers/net/via-rhine.c	2009-02-26 09:54:48.000000000 -0800
@@ -109,8 +109,9 @@  static const int multicast_filter_limit 
 #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. */