diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2023-04-04 12:18:41 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-04-06 11:34:45 +0200 |
commit | c8e04374f9e1194a99c1c67980a21aa3f56a79d0 (patch) | |
tree | 1a52e8be7d99f06f7def853a338bd821db267e4f /drivers/net/dsa/microchip/ksz8.h | |
parent | ec2312f337356cd48f538c49f7cf1c2047ec1866 (diff) |
net: dsa: microchip: Make ksz8_w_sta_mac_table() static
Since ksz8_w_sta_mac_table() is only used within ksz8795.c, make it static
to limit its scope.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz8.h')
-rw-r--r-- | drivers/net/dsa/microchip/ksz8.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/microchip/ksz8.h b/drivers/net/dsa/microchip/ksz8.h index ce0f7b71268d..e68465fdf6b9 100644 --- a/drivers/net/dsa/microchip/ksz8.h +++ b/drivers/net/dsa/microchip/ksz8.h @@ -21,8 +21,6 @@ int ksz8_r_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 *val); int ksz8_w_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 val); int ksz8_r_dyn_mac_table(struct ksz_device *dev, u16 addr, u8 *mac_addr, u8 *fid, u8 *src_port, u8 *timestamp, u16 *entries); -void ksz8_w_sta_mac_table(struct ksz_device *dev, u16 addr, - struct alu_struct *alu); void ksz8_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt); void ksz8_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, u64 *dropped, u64 *cnt); |