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:
committed by
Marek Vasut
parent
570eaadac0
commit
e81782ab88
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user