[PATCH 09/15] fealnx: fix non-constant printk warnings
From: Stephen Hemminger <hidden>
Date: 2009-02-26 20:20:20
From: Stephen Hemminger <hidden>
Date: 2009-02-26 20:20:20
Signed-off-by: Stephen Hemminger <redacted>
--- 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
--