diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-05-27 00:03:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-31 18:34:59 +0200 |
commit | 1b17aedffb079fa5c05c2118b7f23a1e72e4dd2f (patch) | |
tree | 1f1b875feb6c06c5624c43cf183a92a310dd7370 /drivers/net/dsa/mv88e6xxx/phy.h | |
parent | bnxt_en: Fix xmit_more with BQL. (diff) | |
download | linux-1b17aedffb079fa5c05c2118b7f23a1e72e4dd2f.tar.xz linux-1b17aedffb079fa5c05c2118b7f23a1e72e4dd2f.zip |
net: dsa: mv88e6xxx: provide a PHY setup helper
Similarly to the VTU, PVT and ATU setup, provide a mv88e6xxx_phy_setup
helper which wraps mv88e6xxx_ppu_enable, so that no more PPU-related
functions are exposed outside of phy.c.
Thus make mv88e6xxx_ppu_enable static.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/phy.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/phy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/phy.h b/drivers/net/dsa/mv88e6xxx/phy.h index 0961d781b726..dfa98549dfcd 100644 --- a/drivers/net/dsa/mv88e6xxx/phy.h +++ b/drivers/net/dsa/mv88e6xxx/phy.h @@ -30,8 +30,8 @@ int mv88e6xxx_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 *val); int mv88e6xxx_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 val); -int mv88e6xxx_ppu_enable(struct mv88e6xxx_chip *chip); void mv88e6xxx_phy_init(struct mv88e6xxx_chip *chip); void mv88e6xxx_phy_destroy(struct mv88e6xxx_chip *chip); +int mv88e6xxx_phy_setup(struct mv88e6xxx_chip *chip); #endif /*_MV88E6XXX_PHY_H */ |