diff mbox

[09/15] fealnx: fix non-constant printk warnings

Message ID 20090226201950.007320605@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/fealnx.c	2009-02-26 09:52:30.000000000 -0800
+++ b/drivers/net/fealnx.c	2009-02-26 09:53:42.000000000 -0800
@@ -93,8 +93,8 @@  static int full_duplex[MAX_UNITS] = { -1
 #include <asm/byteorder.h>
 
 /* These identify the driver base version and may not be removed. */
-static char version[] =
-KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n";
+static const char version[] __devinitconst =
+	KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n";
 
 
 /* This driver was written to use PCI memory space, however some x86 systems