diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-09-09 06:32:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-09 06:32:12 +0200 |
commit | f27e21a813e2c4ca74b30a5443602e75b146db9b (patch) | |
tree | 5bab99e6d099ca835ddb052142e89d06daaa8e7f /drivers/net/atlx | |
parent | net: inet_add_protocol() can use cmpxchg() (diff) | |
download | linux-f27e21a813e2c4ca74b30a5443602e75b146db9b.tar.xz linux-f27e21a813e2c4ca74b30a5443602e75b146db9b.zip |
atlx: make strings const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Chris Snook <chris.snook@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index 07adc8446901..29c0265ccc5d 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 <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>"); MODULE_DESCRIPTION("Atheros Fast Ethernet Network Driver"); |