aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r--drivers/net/s2io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index bd6d713c861a..07e95e9b1c93 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -125,7 +125,7 @@ static inline int is_s2io_card_up(const struct s2io_nic * sp)
125} 125}
126 126
127/* Ethtool related variables and Macros. */ 127/* Ethtool related variables and Macros. */
128static char s2io_gstrings[][ETH_GSTRING_LEN] = { 128static const char s2io_gstrings[][ETH_GSTRING_LEN] = {
129 "Register test\t(offline)", 129 "Register test\t(offline)",
130 "Eeprom test\t(offline)", 130 "Eeprom test\t(offline)",
131 "Link test\t(online)", 131 "Link test\t(online)",
@@ -133,7 +133,7 @@ static char s2io_gstrings[][ETH_GSTRING_LEN] = {
133 "BIST Test\t(offline)" 133 "BIST Test\t(offline)"
134}; 134};
135 135
136static char ethtool_xena_stats_keys[][ETH_GSTRING_LEN] = { 136static const char ethtool_xena_stats_keys[][ETH_GSTRING_LEN] = {
137 {"tmac_frms"}, 137 {"tmac_frms"},
138 {"tmac_data_octets"}, 138 {"tmac_data_octets"},
139 {"tmac_drop_frms"}, 139 {"tmac_drop_frms"},
@@ -230,7 +230,7 @@ static char ethtool_xena_stats_keys[][ETH_GSTRING_LEN] = {
230 {"rxf_wr_cnt"} 230 {"rxf_wr_cnt"}
231}; 231};
232 232
233static char ethtool_enhanced_stats_keys[][ETH_GSTRING_LEN] = { 233static const char ethtool_enhanced_stats_keys[][ETH_GSTRING_LEN] = {
234 {"rmac_ttl_1519_4095_frms"}, 234 {"rmac_ttl_1519_4095_frms"},
235 {"rmac_ttl_4096_8191_frms"}, 235 {"rmac_ttl_4096_8191_frms"},
236 {"rmac_ttl_8192_max_frms"}, 236 {"rmac_ttl_8192_max_frms"},
@@ -249,7 +249,7 @@ static char ethtool_enhanced_stats_keys[][ETH_GSTRING_LEN] = {
249 {"link_fault_cnt"} 249 {"link_fault_cnt"}
250}; 250};
251 251
252static char ethtool_driver_stats_keys[][ETH_GSTRING_LEN] = { 252static const char ethtool_driver_stats_keys[][ETH_GSTRING_LEN] = {
253 {"\n DRIVER STATISTICS"}, 253 {"\n DRIVER STATISTICS"},
254 {"single_bit_ecc_errs"}, 254 {"single_bit_ecc_errs"},
255 {"double_bit_ecc_errs"}, 255 {"double_bit_ecc_errs"},