usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB
authorMeng Dongyang <daniel.meng@rock-chips.com>
Wed, 28 Jun 2017 11:22:39 +0000 (19:22 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:48 +0000 (12:13 +0200)
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>
drivers/usb/host/Kconfig

index b824eec41d967e087a4fb53b3a7234c84d30402b..5e07a10e7527a38ec5bcac76320654da8a2f189b 100644 (file)
@@ -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.