diff options
author | Madalin Bucur | 2016-05-24 16:33:54 +0300 |
---|---|---|
committer | Madalin Bucur | 2016-10-04 09:26:07 +0300 |
commit | 73c364e110015690f13336544a51aab685bd5f23 (patch) | |
tree | 8b97837673d354beae2da9fe5fbe12cface4b228 /drivers/net/ethernet/freescale/fman/mac.h | |
parent | 537a31658f8a01d635eb628eff5895672ac03981 (diff) |
fsl/fman: return a phy_dev pointer from init
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/mac.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/mac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.h b/drivers/net/ethernet/freescale/fman/mac.h index 0211cc9a46d6..d7313f0c5135 100644 --- a/drivers/net/ethernet/freescale/fman/mac.h +++ b/drivers/net/ethernet/freescale/fman/mac.h @@ -58,7 +58,8 @@ struct mac_device { bool tx_pause_active; bool promisc; - int (*init_phy)(struct net_device *net_dev, struct mac_device *mac_dev); + struct phy_device *(*init_phy)(struct net_device *net_dev, + struct mac_device *mac_dev); int (*init)(struct mac_device *mac_dev); int (*start)(struct mac_device *mac_dev); int (*stop)(struct mac_device *mac_dev); |