OSDN Git Service

net: dsa: mv88e6xxx: provide a PHY setup helper
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 26 May 2017 22:03:05 +0000 (18:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2017 16:34:59 +0000 (12:34 -0400)
commit1b17aedffb079fa5c05c2118b7f23a1e72e4dd2f
tree1f1b875feb6c06c5624c43cf183a92a310dd7370
parentffe406457753a7ca2061ecc8c4d3971623066911
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>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/phy.c
drivers/net/dsa/mv88e6xxx/phy.h