diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-03-14 20:14:53 +0800 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-04-15 14:22:17 +0530 |
commit | af34a9408eb95282832cb6e555b860acf2978fab (patch) | |
tree | 96bd76f4be50c7df45d3ea963c3e9a49edc8e700 | |
parent | 676fbd3dbf6b74b1369e0fe4baa63d37bb1d8684 (diff) | |
download | u-boot-af34a9408eb95282832cb6e555b860acf2978fab.zip u-boot-af34a9408eb95282832cb6e555b860acf2978fab.tar.gz u-boot-af34a9408eb95282832cb6e555b860acf2978fab.tar.bz2 |
net: phy: fixed: Make driver ops static
The PHY driver ops should be made static.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r-- | drivers/net/phy/fixed.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c index 11342df..1d25872 100644 --- a/drivers/net/phy/fixed.c +++ b/drivers/net/phy/fixed.c @@ -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; } |