]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: don't export RDB/legacy access methods
authorMichael Walle <michael@walle.cc>
Sat, 30 May 2020 20:34:04 +0000 (22:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 19:02:57 +0000 (12:02 -0700)
commit206fe6fc02f1f827fe27d1db7cbe536144ad22bb
treeff0ed6ad4093b7ffe294f5aac8405d03ce64b62c
parent7cd967d15799e25a02bee8aeaed15cb8dc03975a
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: a9ac8f5953b4 ("net: phy: broadcom: add cable test support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm-phy-lib.c