USB: regroup all depends on USB within an if USB block
[firefly-linux-kernel-4.4.55.git] / drivers / usb / core / Kconfig
index 7b7305e3abc8d19a934f51364abfe53e8c837430..8772b3659296b90b2c009774fd3bba8c0498236e 100644 (file)
@@ -3,7 +3,6 @@
 #
 config USB_DEBUG
        bool "USB verbose debug messages"
-       depends on USB
        help
          Say Y here if you want the USB core & hub drivers to produce a bunch
          of debug messages to the system log. Select this if you are having a
@@ -11,7 +10,6 @@ config USB_DEBUG
 
 config USB_ANNOUNCE_NEW_DEVICES
        bool "USB announce new devices"
-       depends on USB
        default N
        help
          Say Y here if you want the USB core to always announce the
@@ -25,11 +23,9 @@ config USB_ANNOUNCE_NEW_DEVICES
          log, or have any doubts about this, say N here.
 
 comment "Miscellaneous USB options"
-       depends on USB
 
 config USB_DEFAULT_PERSIST
        bool "Enable USB persist by default"
-       depends on USB
        default y
        help
          Say N here if you don't want USB power session persistance
@@ -45,7 +41,6 @@ config USB_DEFAULT_PERSIST
 
 config USB_DYNAMIC_MINORS
        bool "Dynamic USB minor allocation"
-       depends on USB
        help
          If you say Y here, the USB subsystem will use dynamic minor
          allocation for any device that uses the USB major number.
@@ -56,7 +51,6 @@ config USB_DYNAMIC_MINORS
 
 config USB_OTG
        bool "OTG support"
-       depends on USB
        depends on USB_SUSPEND
        default n
        help