aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/image
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-09 08:29:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-09 19:49:07 -0400
commit25e11ec4fe5271c4895265ecbb69531e6b0c0dd5 (patch)
treeff7baadd2effb7e76b62fce13b7392e4a59f8d03 /drivers/usb/image
parenta2a2d6c7f93e160b52a4ad0164db1f43f743ae0f (diff)
USB: regroup all depends on USB within an if USB block
This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig and replace that with an if USB / endif block as suggested by Alan Stern. Some source ... Kconfig lines have been shuffled around to permit a better regroupment of the Kconfig files depending on "config USB" item. No functionnal change is introduced. 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/image')
-rw-r--r--drivers/usb/image/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/image/Kconfig b/drivers/usb/image/Kconfig
index 33350f9dd34f..320d368c8dac 100644
--- a/drivers/usb/image/Kconfig
+++ b/drivers/usb/image/Kconfig
@@ -2,11 +2,9 @@
2# USB Imaging devices configuration 2# USB Imaging devices configuration
3# 3#
4comment "USB Imaging devices" 4comment "USB Imaging devices"
5 depends on USB
6 5
7config USB_MDC800 6config USB_MDC800
8 tristate "USB Mustek MDC800 Digital Camera support" 7 tristate "USB Mustek MDC800 Digital Camera support"
9 depends on USB
10 ---help--- 8 ---help---
11 Say Y here if you want to connect this type of still camera to 9 Say Y here if you want to connect this type of still camera to
12 your computer's USB port. This driver can be used with gphoto 0.4.3 10 your computer's USB port. This driver can be used with gphoto 0.4.3
@@ -19,7 +17,7 @@ config USB_MDC800
19 17
20config USB_MICROTEK 18config USB_MICROTEK
21 tristate "Microtek X6USB scanner support" 19 tristate "Microtek X6USB scanner support"
22 depends on USB && SCSI 20 depends on SCSI
23 help 21 help
24 Say Y here if you want support for the Microtek X6USB and 22 Say Y here if you want support for the Microtek X6USB and
25 possibly the Phantom 336CX, Phantom C6 and ScanMaker V6U(S)L. 23 possibly the Phantom 336CX, Phantom C6 and ScanMaker V6U(S)L.