usb: gadget: remove useless depends on Kconfig
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 20 Dec 2011 00:42:24 +0000 (02:42 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 21 Dec 2011 11:24:43 +0000 (13:24 +0200)
Where are inside an 'if USB_GADGET'.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/Kconfig

index f1a5409..683d931 100644 (file)
@@ -124,7 +124,6 @@ config USB_GADGET_STORAGE_NUM_BUFFERS
 #
 choice
        prompt "USB Peripheral Controller"
-       depends on USB_GADGET
        help
           A USB device uses a controller to talk to its host.
           Systems should have only one such upstream link.
@@ -543,12 +542,10 @@ endchoice
 # Selected by UDC drivers that support high-speed operation.
 config USB_GADGET_DUALSPEED
        bool
-       depends on USB_GADGET
 
 # Selected by UDC drivers that support super-speed opperation
 config USB_GADGET_SUPERSPEED
        bool
-       depends on USB_GADGET
        depends on USB_GADGET_DUALSPEED
 
 #
@@ -556,7 +553,6 @@ config USB_GADGET_SUPERSPEED
 #
 choice
        tristate "USB Gadget Drivers"
-       depends on USB_GADGET
        default USB_ETH
        help
          A Linux "Gadget Driver" talks to the USB Peripheral Controller