aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2014-06-05 07:58:06 +0100
committerSteve Capper <steve.capper@linaro.org>2014-08-11 13:20:36 +0100
commit2aee21052121a1d39a8a1b899330fca3a9278de1 (patch)
tree85e0f1542812c18e0dcc4241da71b20ec95b176a
parent388138b62dfe4ff28b1add40ac24c05fb4ffe624 (diff)
downloadlinux-2aee21052121a1d39a8a1b899330fca3a9278de1.tar.gz
usb: fix hcd h20ahb driver depends
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> [steve.capper@linaro.org: merging this for now, it should be upstreamed.] Signed-off-by: Steve Capper <steve.capper@linaro.org>
-rw-r--r--drivers/usb/host/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index feab3d5b296..e78489848ba 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -168,7 +168,7 @@ config USB_EHCI_HCD_SPEAR
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.