aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2k-pci.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-26 05:19:25 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 01:21:55 -0500
commit8937bb7b44b991c2535ad917e925c2daa2cd6096 (patch)
treec4d85c57056205f005cbacf1d081d53ca0ffd831 /drivers/net/ne2k-pci.c
parent86de79b6d058df87fdf025c6c484b37340fb0205 (diff)
ne2k-pci: 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/ne2k-pci.c')
-rw-r--r--drivers/net/ne2k-pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c
index f090d3b9ec94..eb66f658f9d1 100644
--- a/drivers/net/ne2k-pci.c
+++ b/drivers/net/ne2k-pci.c
@@ -62,8 +62,9 @@ static int options[MAX_UNITS];
62#include "8390.h" 62#include "8390.h"
63 63
64/* These identify the driver base version and may not be removed. */ 64/* These identify the driver base version and may not be removed. */
65static char version[] __devinitdata = 65static const char version[] __devinitconst =
66KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " D. Becker/P. Gortmaker\n"; 66 KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE
67 " D. Becker/P. Gortmaker\n";
67 68
68#if defined(__powerpc__) 69#if defined(__powerpc__)
69#define inl_le(addr) le32_to_cpu(inl(addr)) 70#define inl_le(addr) le32_to_cpu(inl(addr))