diff options
| author | 2019-02-24 20:44:43 +0100 | |
|---|---|---|
| committer | 2019-02-24 22:30:34 -0800 | |
| commit | 75104db0cb353ec0b74644d960640ac0f84ab839 (patch) | |
| tree | d56f151d309a6e3d04e8d29b8503f09b9adcce24 /drivers/net/dsa/microchip/ksz_common.h | |
| parent | net: phy: fix reading fixed phy status (diff) | |
| download | wireguard-linux-75104db0cb353ec0b74644d960640ac0f84ab839.tar.xz wireguard-linux-75104db0cb353ec0b74644d960640ac0f84ab839.zip | |
dsa: Remove phydev parameter from disable_port call
No current DSA driver makes use of the phydev parameter passed to the
disable_port call. Remove it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
| -rw-r--r-- | drivers/net/dsa/microchip/ksz_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h index 0d25bc44f453..21cd794e18f1 100644 --- a/drivers/net/dsa/microchip/ksz_common.h +++ b/drivers/net/dsa/microchip/ksz_common.h @@ -35,7 +35,7 @@ void ksz_port_mdb_add(struct dsa_switch *ds, int port, int ksz_port_mdb_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb); int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy); -void ksz_disable_port(struct dsa_switch *ds, int port, struct phy_device *phy); +void ksz_disable_port(struct dsa_switch *ds, int port); /* Common register access functions */ |
