projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
009bdc1
)
staging: mt7621-eth: Fix sparse warning in ethtool.c
author
Chris Coffey
<cmc@babblebit.net>
Thu, 29 Mar 2018 12:47:45 +0000
(13:47 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:33:20 +0000
(15:33 +0200)
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>
drivers/staging/mt7621-eth/ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/staging/mt7621-eth/ethtool.c
b/drivers/staging/mt7621-eth/ethtool.c
index 38ba0c040aba6443b8b9861aa6294c831141d287..5268c5ca097defbfd225718fe8a0a3d02053416b 100644
(file)
--- 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,