Skip to content
Snippets Groups Projects
Commit e81782ab authored by Michal Simek's avatar Michal Simek Committed by Marek Vasut
Browse files

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 fd09c205 ("usb:
s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/").

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 570eaada
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment