Thread (17 messages) 17 messages, 2 authors, 2009-02-27
STALE6340d

[PATCH 11/15] starfire: fix non-constant printk warnings

From: Stephen Hemminger <hidden>
Date: 2009-02-26 20:20:20

Signed-off-by: Stephen Hemminger <redacted>
--- a/drivers/net/starfire.c	2009-02-26 09:55:51.000000000 -0800
+++ b/drivers/net/starfire.c	2009-02-26 09:56:33.000000000 -0800
@@ -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";
 
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help