Patchwork [13/15] hamachi: fix non-constant printk warnings

login
register
mail settings
Submitter stephen hemminger
Date Feb. 26, 2009, 8:19 p.m.
Message ID <20090226201950.470563340@vyatta.com>
Download mbox | patch
Permalink /patch/23794/
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/hamachi.c	2009-02-26 09:57:31.000000000 -0800
+++ b/drivers/net/hamachi.c	2009-02-26 09:57:46.000000000 -0800
@@ -171,7 +171,7 @@  static int tx_params[MAX_UNITS] = {-1, -
 #include <asm/unaligned.h>
 #include <asm/cache.h>
 
-static char version[] __devinitdata =
+static const char version[] __devinitconst =
 KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "  Written by Donald Becker\n"
 KERN_INFO "   Some modifications by Eric kasten <kasten@nscl.msu.edu>\n"
 KERN_INFO "   Further modifications by Keith Underwood <keithu@parl.clemson.edu>\n";