From: Stephen Hemminger Date: Thu, 9 Sep 2010 04:32:12 +0000 (-0700) Subject: atlx: make strings const X-Git-Tag: v2.6.37-rc1~147^2~500 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=f27e21a813e2c4ca74b30a5443602e75b146db9b;p=net-next-2.6.git atlx: make strings const Signed-off-by: Stephen Hemminger Acked-by: Chris Snook Signed-off-by: David S. Miller --- diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index 07adc844690..29c0265ccc5 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c @@ -51,10 +51,10 @@ #define ATL2_DRV_VERSION "2.2.3" -static char atl2_driver_name[] = "atl2"; +static const char atl2_driver_name[] = "atl2"; static const char atl2_driver_string[] = "Atheros(R) L2 Ethernet Driver"; -static char atl2_copyright[] = "Copyright (c) 2007 Atheros Corporation."; -static char atl2_driver_version[] = ATL2_DRV_VERSION; +static const char atl2_copyright[] = "Copyright (c) 2007 Atheros Corporation."; +static const char atl2_driver_version[] = ATL2_DRV_VERSION; MODULE_AUTHOR("Atheros Corporation , Chris Snook "); MODULE_DESCRIPTION("Atheros Fast Ethernet Network Driver");