summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-04-01 17:49:24 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-01 20:41:20 +0200
commit9ca683c6d1482714a12170632afb74d43f0ece5a (patch)
treeee737032645a358d18a63ea624531cafce98d657 /drivers/net/ethernet/chelsio/cxgb
parentMerge tag 'wireless-drivers-next-for-davem-2015-04-01' of git://git.kernel.or... (diff)
downloadlinux-9ca683c6d1482714a12170632afb74d43f0ece5a.tar.xz
linux-9ca683c6d1482714a12170632afb74d43f0ece5a.zip
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')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb/cxgb2.c2
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",