aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-09 08:29:29 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-09 19:57:50 -0400
commit0fcb99898633e5def627833613cf262fe7f30ac4 (patch)
treed70d06e7e74efd4dffe9ffe95e8ed2c95e07cd72 /drivers/usb/host
parent3ad3ca056eefb75a587434bbcb2460864377f17c (diff)
USB: enclose USB_XHCI_HCD related symbols within a if USB_XHCI_HCD block
This patch encloses all symbols depending on USB_XHCI_HCD within an if USB_XHCI_HCD / endif block. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 76f8bbcd49c3..c0be25c8e61c 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -25,13 +25,13 @@ config USB_XHCI_HCD
25 To compile this driver as a module, choose M here: the 25 To compile this driver as a module, choose M here: the
26 module will be called xhci-hcd. 26 module will be called xhci-hcd.
27 27
28if USB_XHCI_HCD
29
28config USB_XHCI_PLATFORM 30config USB_XHCI_PLATFORM
29 tristate 31 tristate
30 depends on USB_XHCI_HCD
31 32
32config USB_XHCI_HCD_DEBUGGING 33config USB_XHCI_HCD_DEBUGGING
33 bool "Debugging for the xHCI host controller" 34 bool "Debugging for the xHCI host controller"
34 depends on USB_XHCI_HCD
35 ---help--- 35 ---help---
36 Say 'Y' to turn on debugging for the xHCI host controller driver. 36 Say 'Y' to turn on debugging for the xHCI host controller driver.
37 This will spew debugging output, even in interrupt context. 37 This will spew debugging output, even in interrupt context.
@@ -39,6 +39,8 @@ config USB_XHCI_HCD_DEBUGGING
39 39
40 If unsure, say N. 40 If unsure, say N.
41 41
42endif # USB_XHCI_HCD
43
42config USB_EHCI_HCD 44config USB_EHCI_HCD
43 tristate "EHCI HCD (USB 2.0) support" 45 tristate "EHCI HCD (USB 2.0) support"
44 depends on USB_ARCH_HAS_EHCI 46 depends on USB_ARCH_HAS_EHCI