Commit 3190ca3b authored by Michael Walle's avatar Michael Walle Committed by David S. Miller

net: phy: broadcom: don't export RDB/legacy access methods

Don't export __bcm_phy_enable_rdb_access() and
__bcm_phy_enable_legacy_access() functions. They aren't used outside this
module and it was forgotten to provide a prototype for these functions.
Just make them static for now.

Fixes: 11ecf8c5 ("net: phy: broadcom: add cable test support")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 96aa1b22
......@@ -583,18 +583,16 @@ int bcm_phy_enable_jumbo(struct phy_device *phydev)
}
EXPORT_SYMBOL_GPL(bcm_phy_enable_jumbo);
int __bcm_phy_enable_rdb_access(struct phy_device *phydev)
static int __bcm_phy_enable_rdb_access(struct phy_device *phydev)
{
return __bcm_phy_write_exp(phydev, BCM54XX_EXP_REG7E, 0);
}
EXPORT_SYMBOL_GPL(__bcm_phy_enable_rdb_access);
int __bcm_phy_enable_legacy_access(struct phy_device *phydev)
static int __bcm_phy_enable_legacy_access(struct phy_device *phydev)
{
return __bcm_phy_write_rdb(phydev, BCM54XX_RDB_REG0087,
BCM54XX_ACCESS_MODE_LEGACY_EN);
}
EXPORT_SYMBOL_GPL(__bcm_phy_enable_legacy_access);
static int _bcm_phy_cable_test_start(struct phy_device *phydev, bool is_rdb)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment