summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-eth
diff options
context:
space:
mode:
authorChris Coffey <cmc@babblebit.net>2018-03-29 13:47:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 15:33:20 +0200
commit37dc8f16b597af0dc1be6201f2e59e7a141cd574 (patch)
treef8f0763a99b510917d5d0023e5a2519b0d8c5a6e /drivers/staging/mt7621-eth
parent009bdc15ab5578401ebca6d362ca35e47b5b8f6a (diff)
staging: mt7621-eth: Fix sparse warning in ethtool.c
This fixes the following sparse warning: drivers/staging/mt7621-eth/ethtool.c:213:6: warning: symbol 'mtk_set_ethtool_ops' was not declared. Should it be static? Signed-off-by: Chris Coffey <cmc@babblebit.net> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-eth')
-rw-r--r--drivers/staging/mt7621-eth/ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
index 38ba0c040aba..5268c5ca097d 100644
--- a/drivers/staging/mt7621-eth/ethtool.c
+++ b/drivers/staging/mt7621-eth/ethtool.c
@@ -13,6 +13,7 @@
*/
#include "mtk_eth_soc.h"
+#include "ethtool.h"
static const char mtk_gdma_str[][ETH_GSTRING_LEN] = {
#define _FE(x...) # x,