diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-26 05:19:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-27 01:21:59 -0500 |
commit | c8de1fce1a3a6590854e4e7b5aff83ced2b77060 (patch) | |
tree | f0698312a17a631f757c8af0d6b5247a5097882a /drivers | |
parent | 6f101d19f13b4f6edb9da5ce2744b1b3f44529c3 (diff) |
via-rhine: 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')
-rw-r--r-- | drivers/net/via-rhine.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index 4671436ecf0e..880eaf07413b 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -109,8 +109,9 @@ static const int multicast_filter_limit = 32; | |||
109 | #include <linux/dmi.h> | 109 | #include <linux/dmi.h> |
110 | 110 | ||
111 | /* These identify the driver base version and may not be removed. */ | 111 | /* These identify the driver base version and may not be removed. */ |
112 | static char version[] __devinitdata = | 112 | static const char version[] __devinitconst = |
113 | KERN_INFO DRV_NAME ".c:v1.10-LK" DRV_VERSION " " DRV_RELDATE " Written by Donald Becker\n"; | 113 | KERN_INFO DRV_NAME ".c:v1.10-LK" DRV_VERSION " " DRV_RELDATE |
114 | " Written by Donald Becker\n"; | ||
114 | 115 | ||
115 | /* This driver was written to use PCI memory space. Some early versions | 116 | /* This driver was written to use PCI memory space. Some early versions |
116 | of the Rhine may only work correctly with I/O space accesses. */ | 117 | of the Rhine may only work correctly with I/O space accesses. */ |