From: Stephen Hemminger Date: Thu, 26 Feb 2009 10:19:30 +0000 (+0000) Subject: fealnx: fix non-constant printk warnings X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6f101d19f13b4f6edb9da5ce2744b1b3f44529c3;p=deliverable%2Flinux.git fealnx: fix non-constant printk warnings Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/fealnx.c b/drivers/net/fealnx.c index daf7272c3352..891be28a7d4f 100644 --- a/drivers/net/fealnx.c +++ b/drivers/net/fealnx.c @@ -93,8 +93,8 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; #include /* These identify the driver base version and may not be removed. */ -static char version[] = -KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n"; +static const char version[] __devinitconst = + KERN_INFO DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE "\n"; /* This driver was written to use PCI memory space, however some x86 systems