mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ne2k-pci: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
86de79b6d0
commit
8937bb7b44
1 changed files with 3 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue