summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger2009-02-26 11:19:30 +0100
committerDavid S. Miller2009-02-27 07:21:59 +0100
commit6f101d19f13b4f6edb9da5ce2744b1b3f44529c3 (patch)
tree9c77282178f9a3868e24c1e0495236f79938be26 /drivers
parentnatsemi: fix non-constant printk warnings (diff)
downloadkernel-qcow2-linux-6f101d19f13b4f6edb9da5ce2744b1b3f44529c3.tar.gz
kernel-qcow2-linux-6f101d19f13b4f6edb9da5ce2744b1b3f44529c3.tar.xz
kernel-qcow2-linux-6f101d19f13b4f6edb9da5ce2744b1b3f44529c3.zip
fealnx: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fealnx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fealnx.c b/drivers/net/fealnx.c
index daf7272c3352..891be28a7d4f 100644
--- a/drivers/net/fealnx.c
+++ b/drivers/net/fealnx.c
@@ -93,8 +93,8 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
#include <asm/byteorder.h>
/* These identify the driver base version and may not be removed. */
-static char version[] =
-KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n";
+static const char version[] __devinitconst =
+ KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n";
/* This driver was written to use PCI memory space, however some x86 systems