diff options
author | Joe Perches <joe@perches.com> | 2015-04-01 18:49:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-01 21:41:20 +0300 |
commit | 9ca683c6d1482714a12170632afb74d43f0ece5a (patch) | |
tree | ee737032645a358d18a63ea624531cafce98d657 /drivers/net/ethernet/chelsio/cxgb/cxgb2.c | |
parent | 45eb5168873c93b4f1c3c3867fea65aad4c6abd6 (diff) | |
download | linux-9ca683c6d1482714a12170632afb74d43f0ece5a.tar.xz |
chelsio cxgb/cxgb3: Make stats_strings arrays const
Move ~2KB of strings in each driver from data to text.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb/cxgb2.c')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c index 186566bfdbc8..f5f1b0b51ebd 100644 --- a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c +++ b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c @@ -354,7 +354,7 @@ static void set_msglevel(struct net_device *dev, u32 val) adapter->msg_enable = val; } -static char stats_strings[][ETH_GSTRING_LEN] = { +static const char stats_strings[][ETH_GSTRING_LEN] = { "TxOctetsOK", "TxOctetsBad", "TxUnicastFramesOK", |