]> Pileus Git - ~andy/linux/commitdiff
fealnx: fix non-constant printk warnings
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 26 Feb 2009 10:19:30 +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/fealnx.c

index daf7272c335260c2b2ac6edffbb3929ef7322edf..891be28a7d4f43625ad5072c77b372e854564a01 100644 (file)
@@ -93,8 +93,8 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -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