aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeng Dongyang2017-06-28 19:22:39 +0800
committerPhilipp Tomsich2017-07-11 12:13:48 +0200
commite85f00abdaf3d83dde6b4e62f65ff26ea6b1fd92 (patch)
tree032ceb10ffc166bbafb085b8a8bd779162bad074
parent64a524b08ae7fe2a88355c3d671bf3764e968ecb (diff)
usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB
The xhci-rockchip driver depends on DM_REGULATOR and DM_USB. So add dependent features for xhci-rockchip driver in Kconfig. Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--drivers/usb/host/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index b824eec41d9..5e07a10e752 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -34,6 +34,8 @@ config USB_XHCI_MVEBU
config USB_XHCI_ROCKCHIP
bool "Support for Rockchip on-chip xHCI USB controller"
depends on ARCH_ROCKCHIP
+ depends on DM_REGULATOR
+ depends on DM_USB
default y
help
Enables support for the on-chip xHCI controller on Rockchip SoCs.