Skip to content

Commit

Permalink
ne2k-pci: fix non-constant printk warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 27, 2009
1 parent 86de79b commit 8937bb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/ne2k-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ static int options[MAX_UNITS];
#include "8390.h"

/* These identify the driver base version and may not be removed. */
static char version[] __devinitdata =
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " D. Becker/P. Gortmaker\n";
static const char version[] __devinitconst =
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE
" D. Becker/P. Gortmaker\n";

#if defined(__powerpc__)
#define inl_le(addr) le32_to_cpu(inl(addr))
Expand Down

0 comments on commit 8937bb7

Please sign in to comment.