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

index 98fe79515bab97bf2f8ff8d60d5ba35c94a4fa35..fcb943fca4f128716312257bbbb6e26a1cebc40e 100644 (file)
@@ -178,7 +178,7 @@ static int full_duplex[MAX_UNITS] = {0, };
 #define FIRMWARE_TX    "adaptec/starfire_tx.bin"
 
 /* These identify the driver base version and may not be removed. */
-static char version[] =
+static const char version[] __devinitconst =
 KERN_INFO "starfire.c:v1.03 7/26/2000  Written by Donald Becker <becker@scyld.com>\n"
 KERN_INFO " (unofficial 2.2/2.4 kernel port, version " DRV_VERSION ", " DRV_RELDATE ")\n";