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

login
register
mail settings
Submitter stephen hemminger
Date Feb. 26, 2009, 8:19 p.m.
Message ID <20090226201949.891519044@vyatta.com>
Download mbox | patch
Permalink /patch/23798/
State Accepted
Delegated to: David Miller
Headers show

Comments

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

Patch

--- 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"