Commit 64a26007 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

net: dsa: mv8e6xxx: Fix stub function parameters



mv88e6xxx_g2_atu_stats_get() takes two parameters. Make the stub
function also take two, otherwise we get compile errors.

Fixes: c5f299d5 ("net: dsa: mv88e6xxx: global1_atu: Add helper for get next")
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 16cf4222
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}