From: Stephen Hemminger Date: Thu, 26 Feb 2009 10:19:29 +0000 (+0000) Subject: natsemi: fix non-constant printk warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=23410495d7f2026b3003642a1931b8366d423ce0;p=openwrt%2Fstaging%2Fblogic.git natsemi: fix non-constant printk warnings Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index c23a58624a33..c9bfe4eea189 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c @@ -127,7 +127,7 @@ static int full_duplex[MAX_UNITS]; #define NATSEMI_RX_LIMIT 2046 /* maximum supported by hardware */ /* These identify the driver base version and may not be removed. */ -static char version[] __devinitdata = +static const char version[] __devinitconst = KERN_INFO DRV_NAME " dp8381x driver, version " DRV_VERSION ", " DRV_RELDATE "\n" KERN_INFO " originally by Donald Becker \n"