gianfar: constify giant block of status descriptor strings
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 8 Jan 2012 18:21:57 +0000 (13:21 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 15 Mar 2012 19:37:49 +0000 (15:37 -0400)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/ethernet/freescale/gianfar_ethtool.c

index 5a78d55f46e7007a189f8dc44b49288ff0756586..8d74efd04bb9bc478a0a576d27740d5f22dcb385 100644 (file)
@@ -58,7 +58,7 @@ static void gfar_gringparam(struct net_device *dev, struct ethtool_ringparam *rv
 static int gfar_sringparam(struct net_device *dev, struct ethtool_ringparam *rvals);
 static void gfar_gdrvinfo(struct net_device *dev, struct ethtool_drvinfo *drvinfo);
 
-static char stat_gstrings[][ETH_GSTRING_LEN] = {
+static const char stat_gstrings[][ETH_GSTRING_LEN] = {
        "rx-dropped-by-kernel",
        "rx-large-frame-errors",
        "rx-short-frame-errors",