diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-07-18 11:48:03 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-07-19 15:33:51 +0200 |
commit | 769e2695be4132fe0be4c964c9d8ea97c74d9a6a (patch) | |
tree | b932fd56682d688cbe64568c9ea396c3bf15b029 /drivers/net/dsa | |
parent | 3c6aca3333629f98e2ce1fa83000b619dd6f6b2d (diff) | |
download | lwn-769e2695be4132fe0be4c964c9d8ea97c74d9a6a.tar.gz lwn-769e2695be4132fe0be4c964c9d8ea97c74d9a6a.zip |
net: dsa: microchip: fix the missing ksz8_r_mib_cnt
During the refactoring for the ksz8_dev_ops from ksz8795.c to
ksz_common.c, the ksz8_r_mib_cnt has been missed. So this patch adds the
missing one.
Fixes: 6ec23aaaac43 ("net: dsa: microchip: move ksz_dev_ops to ksz_common.c")
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220718061803.4939-1-arun.ramadoss@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index 28d7cb2ce98f..26bd239f4f07 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -150,6 +150,7 @@ static const struct ksz_dev_ops ksz8_dev_ops = { .port_setup = ksz8_port_setup, .r_phy = ksz8_r_phy, .w_phy = ksz8_w_phy, + .r_mib_cnt = ksz8_r_mib_cnt, .r_mib_pkt = ksz8_r_mib_pkt, .freeze_mib = ksz8_freeze_mib, .port_init_cnt = ksz8_port_init_cnt, |