Skip to content

Commit

Permalink
via-rhine: fix non-constant printk warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Stephen Hemminger authored and davem330 committed Feb 27, 2009
1 parent 6f101d1 commit c8de1fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/via-rhine.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ static const int multicast_filter_limit = 32;
#include <linux/dmi.h>

/* These identify the driver base version and may not be removed. */
static char version[] __devinitdata =
KERN_INFO DRV_NAME ".c:v1.10-LK" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n";
static const char version[] __devinitconst =
KERN_INFO DRV_NAME ".c:v1.10-LK" DRV_VERSION " " DRV_RELDATE
" Written by Donald Becker\n";

/* This driver was written to use PCI memory space. Some early versions
of the Rhine may only work correctly with I/O space accesses. */
Expand Down

0 comments on commit c8de1fc

Please sign in to comment.