atlx: make strings const
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 9 Sep 2010 04:32:12 +0000 (21:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Sep 2010 04:32:12 +0000 (21:32 -0700)
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>
drivers/net/atlx/atl2.c

index 07adc84469016cd1ca1f549b1327754efa7e71e0..29c0265ccc5d2d65e08d0d4506870046cdf5bc3d 100644 (file)
 
 #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");