summaryrefslogtreecommitdiff
path: root/drivers/net/fealnx.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-26 10:19:30 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-26 22:21:59 -0800
commit6f101d19f13b4f6edb9da5ce2744b1b3f44529c3 (patch)
tree9c77282178f9a3868e24c1e0495236f79938be26 /drivers/net/fealnx.c
parent23410495d7f2026b3003642a1931b8366d423ce0 (diff)
downloadkernel-common-6f101d19f13b4f6edb9da5ce2744b1b3f44529c3.tar.gz
kernel-common-6f101d19f13b4f6edb9da5ce2744b1b3f44529c3.tar.bz2
kernel-common-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/net/fealnx.c')
-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