diff options
author | Srinivas Kandagatla | 2014-01-16 11:52:27 +0100 |
---|---|---|
committer | David S. Miller | 2014-01-17 00:23:43 +0100 |
commit | 073752aa59b3db120b2508d5bdd0598ada25fd25 (patch) | |
tree | aec7313a3a95fe2434308a20a6e5128f0496f6e5 /drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | |
parent | net: stmmac: move hardware setup for stmmac_open to new function (diff) | |
download | kernel-qcow2-linux-073752aa59b3db120b2508d5bdd0598ada25fd25.tar.gz kernel-qcow2-linux-073752aa59b3db120b2508d5bdd0598ada25fd25.tar.xz kernel-qcow2-linux-073752aa59b3db120b2508d5bdd0598ada25fd25.zip |
net: stmmac: make stmmac_mdio_reset non-static
This patch promotes stmmac_mdio_reset function from static to
non-static, so that power management functions can decide to reset if
the IP comes out from lowe power state specially hibernation cases.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c index aab12d248fb4..a468eb107823 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c @@ -128,7 +128,7 @@ static int stmmac_mdio_write(struct mii_bus *bus, int phyaddr, int phyreg, * @bus: points to the mii_bus structure * Description: reset the MII bus */ -static int stmmac_mdio_reset(struct mii_bus *bus) +int stmmac_mdio_reset(struct mii_bus *bus) { #if defined(CONFIG_STMMAC_PLATFORM) struct net_device *ndev = bus->priv; |