diff options
author | Alex Marginean <alexandru.marginean@nxp.com> | 2019-11-25 17:15:13 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-12-09 09:47:43 -0600 |
commit | 17bd7eae72fed240ff806c14b53fd6ff281ee311 (patch) | |
tree | 643ac0ba541439d3f03838613ad4fc74f8c550e0 /drivers/net/fsl_enetc.h | |
parent | 2f6245594e1f11db00efcaa5ac122918f019e0b4 (diff) | |
download | u-boot-17bd7eae72fed240ff806c14b53fd6ff281ee311.tar.gz |
drivers: net: fsl_enetc: use the new MDIO DM helper functions
Uses the new dm_eth_phy_connect helper to connect to the PHY to simplify
the code.
Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/fsl_enetc.h')
-rw-r--r-- | drivers/net/fsl_enetc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fsl_enetc.h b/drivers/net/fsl_enetc.h index 0bb4cdff47..9a36cdad80 100644 --- a/drivers/net/fsl_enetc.h +++ b/drivers/net/fsl_enetc.h @@ -154,6 +154,7 @@ struct enetc_priv { int if_type; struct mii_dev imdio; + struct phy_device *phy; }; /* register accessors */ |