net: dsa: mv8e6xxx: Fix stub function parameters
authorAndrew Lunn <andrew@lunn.ch>
Thu, 7 Nov 2019 00:18:00 +0000 (01:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:42:53 +0000 (21:42 -0800)
mv88e6xxx_g2_atu_stats_get() takes two parameters. Make the stub
function also take two, otherwise we get compile errors.

Fixes: c5f299d59261 ("net: dsa: mv88e6xxx: global1_atu: Add helper for get next")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global2.h

index d80ad203d126f37802f0f3193f307f8619c6540b..1f42ee656816b355fea6139e29903ca720b1a4bc 100644 (file)
@@ -532,7 +532,8 @@ static inline int mv88e6xxx_g2_atu_stats_set(struct mv88e6xxx_chip *chip,
        return -EOPNOTSUPP;
 }
 
-static inline int mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip)
+static inline int mv88e6xxx_g2_atu_stats_get(struct mv88e6xxx_chip *chip,
+                                            u16 *stats)
 {
        return -EOPNOTSUPP;
 }