[PATCH 10/15] via-rhine: fix non-constant printk warnings
From: Stephen Hemminger <hidden>
Date: 2009-02-26 20:20:20
From: Stephen Hemminger <hidden>
Date: 2009-02-26 20:20:20
Signed-off-by: Stephen Hemminger <redacted>
--- a/drivers/net/via-rhine.c 2009-02-26 09:54:22.000000000 -0800
+++ b/drivers/net/via-rhine.c 2009-02-26 09:54:48.000000000 -0800@@ -109,8 +109,9 @@ static const int multicast_filter_limit #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. */
--