USB_EHCI_HCD_SYNOPSYS is not only dependent on USB_EHCI_HCD, but
also on USB_PHY. Otherwise kernel build has the following error:
LD init/built-in.o
drivers/built-in.o: In function `ehci_hcd_h20ahb_probe':
:(.text+0xb9bb4): undefined reference to `usb_add_phy_dev'
Signed-off-by: Alex Shi <alex.shi@linaro.org>
config USB_EHCI_HCD_SYNOPSYS
tristate "Support for Synopsys Host-AHB USB 2.0 controller"
- depends on USB_EHCI_HCD
+ depends on USB_EHCI_HCD && USB_PHY
---help---
Enable support for onchip USB controllers based on DesignWare USB 2.0
Host-AHB Controller IP from Synopsys.