generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/

Allow to disable PHY driver in SPL because it checks the CONFIG_SPL_PHY
variable for SPL builds.

The same change was done for usb by commit fd09c205fc ("usb:
s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/").

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek 2022-03-09 10:05:44 +01:00 committed by Marek Vasut
parent 570eaadac0
commit e81782ab88

View file

@ -155,7 +155,7 @@ struct phy_bulk {
unsigned int count;
};
#ifdef CONFIG_PHY
#if CONFIG_IS_ENABLED(PHY)
/**
* generic_phy_init() - initialize the PHY port