diff options
Diffstat (limited to 'include/generic-phy.h')
| -rw-r--r-- | include/generic-phy.h | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/include/generic-phy.h b/include/generic-phy.h index eaab7491660..ba3321f4849 100644 --- a/include/generic-phy.h +++ b/include/generic-phy.h @@ -415,10 +415,13 @@ int generic_phy_power_off_bulk(struct phy_bulk *bulk);   * @dev:	The consumer device.   * @phy:	A pointer to the PHY port   * @index:	The index in the list of available PHYs + * @mode:	PHY mode + * @submode:	PHY submode   *   * Return: 0 if OK, or negative error code.   */ -int generic_setup_phy(struct udevice *dev, struct phy *phy, int index); +int generic_setup_phy(struct udevice *dev, struct phy *phy, int index, +		      enum phy_mode mode, int submode);  /**   * generic_shutdown_phy() - Power off and de-initialize phy. @@ -509,7 +512,8 @@ static inline int generic_phy_power_off_bulk(struct phy_bulk *bulk)  	return 0;  } -static inline int generic_setup_phy(struct udevice *dev, struct phy *phy, int index) +static inline int generic_setup_phy(struct udevice *dev, struct phy *phy, int index, +				    enum phy_mode mode, int submode)  {  	return 0;  } | 
