summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/qca8k.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-03-04 13:34:19 -0500
committerDavid S. Miller <davem@davemloft.net>2018-03-04 13:34:19 -0500
commit413033149c65421ced8760a89ed807a8934439a8 (patch)
treeaf056020b5dbecea1e4fc30f37e50a32ae747576 /drivers/net/dsa/qca8k.c
parentefab163bbc19e5dbd2b7756c1f26defc9c27d6ba (diff)
parentcda9f4aae3dceed192442807b70a5d34a13c478b (diff)
downloadlinux-413033149c65421ced8760a89ed807a8934439a8.tar.bz2
Merge branch 'dsa-serdes-stats'
Andrew Lunn says: ==================== Export SERDES stats via ethtool -S The mv88e6352 family has a SERDES interface which can be used for example to connect to SFF/SFP modules. This interface has a couple of statistics counters. Add support for including these counters in the output of ethtool -S. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.c')
-rw-r--r--drivers/net/dsa/qca8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c
index 9df22ebee822..600d5ad1fbde 100644
--- a/drivers/net/dsa/qca8k.c
+++ b/drivers/net/dsa/qca8k.c
@@ -631,7 +631,7 @@ qca8k_get_ethtool_stats(struct dsa_switch *ds, int port,
}
static int
-qca8k_get_sset_count(struct dsa_switch *ds)
+qca8k_get_sset_count(struct dsa_switch *ds, int port)
{
return ARRAY_SIZE(ar8327_mib);
}