From: Chris Coffey Date: Thu, 29 Mar 2018 12:47:45 +0000 (+0100) Subject: staging: mt7621-eth: Fix sparse warning in ethtool.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=37dc8f16b597af0dc1be6201f2e59e7a141cd574;p=linux.git 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 Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c index 38ba0c040aba6..5268c5ca097de 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,