Skip to content

Commit

Permalink
net: dsa: mv8e6xxx: Fix stub function parameters
Browse files Browse the repository at this point in the history
commit 64a2600 upstream.

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

Fixes: c5f299d ("net: dsa: mv88e6xxx: global1_atu: Add helper for get next")
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
lunn authored and gregkh committed Sep 4, 2024
1 parent 29957da commit 9a2d4f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/dsa/mv88e6xxx/global2.h
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,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;
}
Expand Down

0 comments on commit 9a2d4f7

Please sign in to comment.