gianfar: constify giant block of status descriptor strings
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
Родитель
d8a0f1b0af
Коммит
30f7e31066
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче