Commit af34a940 authored by Bin Meng's avatar Bin Meng Committed by Priyanka Jain

net: phy: fixed: Make driver ops static

The PHY driver ops should be made static.
Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried's avatarRamon Fried <rfried.dev@gmail.com>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain's avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 676fbd3d
......@@ -15,7 +15,7 @@
DECLARE_GLOBAL_DATA_PTR;
int fixedphy_probe(struct phy_device *phydev)
static int fixedphy_probe(struct phy_device *phydev)
{
/* fixed-link phy must not be reset by core phy code */
phydev->flags |= PHY_FLAG_BROKEN_RESET;
......@@ -23,7 +23,7 @@ int fixedphy_probe(struct phy_device *phydev)
return 0;
}
int fixedphy_config(struct phy_device *phydev)
static int fixedphy_config(struct phy_device *phydev)
{
ofnode node = phy_get_ofnode(phydev);
struct fixed_link *priv;
......@@ -55,7 +55,7 @@ int fixedphy_config(struct phy_device *phydev)
return 0;
}
int fixedphy_startup(struct phy_device *phydev)
static int fixedphy_startup(struct phy_device *phydev)
{
struct fixed_link *priv = phydev->priv;
......@@ -68,7 +68,7 @@ int fixedphy_startup(struct phy_device *phydev)
return 0;
}
int fixedphy_shutdown(struct phy_device *phydev)
static int fixedphy_shutdown(struct phy_device *phydev)
{
return 0;
}
......
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