[08/15] natsemi: fix non-constant printk warnings

Submitted by stephen hemminger on Feb. 26, 2009, 8:19 p.m.

Details

Message ID 20090226201949.891519044@vyatta.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

stephen hemminger Feb. 26, 2009, 8:19 p.m.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Patch hide | download patch | download mbox

--- a/drivers/net/natsemi.c	2009-02-26 09:51:52.000000000 -0800
+++ b/drivers/net/natsemi.c	2009-02-26 09:52:05.000000000 -0800
@@ -127,7 +127,7 @@  static int full_duplex[MAX_UNITS];
 #define NATSEMI_RX_LIMIT	2046	/* maximum supported by hardware */
 
 /* These identify the driver base version and may not be removed. */
-static char version[] __devinitdata =
+static const char version[] __devinitconst =
   KERN_INFO DRV_NAME " dp8381x driver, version "
       DRV_VERSION ", " DRV_RELDATE "\n"
   KERN_INFO "  originally by Donald Becker <becker@scyld.com>\n"