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

[PATCH 04/15] ne2k-pci: 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/ne2k-pci.c	2009-02-26 09:46:41.000000000 -0800
+++ b/drivers/net/ne2k-pci.c	2009-02-26 09:47:11.000000000 -0800
@@ -62,8 +62,9 @@ static int options[MAX_UNITS];
 #include "8390.h"
 
 /* These identify the driver base version and may not be removed. */
-static char version[] __devinitdata =
-KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " D. Becker/P. Gortmaker\n";
+static const char version[] __devinitconst =
+	KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE
+	" D. Becker/P. Gortmaker\n";
 
 #if defined(__powerpc__)
 #define inl_le(addr)  le32_to_cpu(inl(addr))
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help