/* phy_enable_interrupts - Enable the interrupts from the PHY side @phydev: target phy_device struct  */
int phy_enable_interrupts(struct phy_device *phydev)
/* phy_enable_interrupts - Enable the interrupts from the PHY side @phydev: target phy_device struct  */
int phy_enable_interrupts(struct phy_device *phydev)
{
	int err;
	err = phy_clear_interrupt(phydev);
	if (err < 0)
		return err;
	err = phy_config_interrupt(phydev, PHY_INTERRUPT_ENABLED);
	return err;
}