Skip to contentSkip to conversation

atlx: make version strings const (trivial)

PATCH Chris Snook 1 participant 1 message Sep 2, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20100902143438.26ec0ef1@nehalam

Chris Snook

author Acked-by
#1 lore raw
Quoted 10 lines · Stephen Hemminger
drivers/net/atlx/atl2.c   2010-09-02 10:52:23.904667707 -0700 renamed from drivers/net/atlx/atl2.c   2010-09-02 10:51:39.529679405 -0700 +0 -0
@@ -51,10 +51,10 @@
 
  #define ATL2_DRV_VERSION "2.2.3"
 

drivers/net/atlx/atl2.c   2010-09-02 10:52:23.904667707 -0700 line 60

Quoted 10 lines
drivers/net/atlx/atl2.c   2010-09-02 10:52:23.904667707 -0700 renamed from drivers/net/atlx/atl2.c   2010-09-02 10:51:39.529679405 -0700 +3 -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 <[email protected]>, Chris Snook <[email protected]>");
  MODULE_DESCRIPTION("Atheros Fast Ethernet Network Driver");