summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/Kconfig
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2012-01-13 18:19:06 +0100
committerFelipe Balbi <balbi@ti.com>2012-01-24 14:43:08 +0100
commita37670b1c0f5dee021e451130653936742233457 (patch)
treedb1212e544f03237e60776056b71e8237bf889f1 /drivers/usb/otg/Kconfig
parentusb: renesas: silence uninitialized variable report in usbhsg_recip_run_handle() (diff)
downloadlinux-a37670b1c0f5dee021e451130653936742233457.tar.xz
linux-a37670b1c0f5dee021e451130653936742233457.zip
drivers: usb: otg: Fix dependencies for some OTG drivers
Fix the following build warning: warning: (USB_LANGWELL_OTG && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT && USB && EXPERIMENTAL && USB_SUSPEND) Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/otg/Kconfig')
-rw-r--r--drivers/usb/otg/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig
index 9105c285f594..76d629345418 100644
--- a/drivers/usb/otg/Kconfig
+++ b/drivers/usb/otg/Kconfig
@@ -110,7 +110,7 @@ config AB8500_USB
config FSL_USB2_OTG
bool "Freescale USB OTG Transceiver Driver"
- depends on USB_EHCI_FSL && USB_GADGET_FSL_USB2
+ depends on USB_EHCI_FSL && USB_GADGET_FSL_USB2 && USB_SUSPEND
select USB_OTG
select USB_OTG_UTILS
help
@@ -118,7 +118,7 @@ config FSL_USB2_OTG
config USB_MV_OTG
tristate "Marvell USB OTG support"
- depends on USB_MV_UDC
+ depends on USB_MV_UDC && USB_SUSPEND
select USB_OTG
select USB_OTG_UTILS
help