From: Stephen Hemminger Date: Thu, 26 Feb 2009 10:19:27 +0000 (+0000) Subject: yellowfin: fix non-constant printk warnings X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7285484afd489417ec55fea16295dff7f3cabb5e;p=deliverable%2Flinux.git yellowfin: fix non-constant printk warnings Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index 2f1645dcb8c8..7477ffdcddb4 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c @@ -107,9 +107,9 @@ static int gx_fix; #include /* These identify the driver base version and may not be removed. */ -static char version[] __devinitdata = -KERN_INFO DRV_NAME ".c:v1.05 1/09/2001 Written by Donald Becker \n" -KERN_INFO " (unofficial 2.4.x port, " DRV_VERSION ", " DRV_RELDATE ")\n"; +static const char version[] __devinitconst = + KERN_INFO DRV_NAME ".c:v1.05 1/09/2001 Written by Donald Becker \n" + KERN_INFO " (unofficial 2.4.x port, " DRV_VERSION ", " DRV_RELDATE ")\n"; MODULE_AUTHOR("Donald Becker "); MODULE_DESCRIPTION("Packet Engines Yellowfin G-NIC Gigabit Ethernet driver");