diff options
| author | Florian Fainelli <florian@openwrt.org> | 2013-04-09 08:29:25 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-09 19:49:07 -0400 |
| commit | 25e11ec4fe5271c4895265ecbb69531e6b0c0dd5 (patch) | |
| tree | ff7baadd2effb7e76b62fce13b7392e4a59f8d03 /drivers/usb/storage/Kconfig | |
| parent | a2a2d6c7f93e160b52a4ad0164db1f43f743ae0f (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/storage/Kconfig')
| -rw-r--r-- | drivers/usb/storage/Kconfig | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index eab04a6b5fbc..8470e1b114f2 100644 --- a/drivers/usb/storage/Kconfig +++ b/drivers/usb/storage/Kconfig | |||
| @@ -4,11 +4,10 @@ | |||
| 4 | 4 | ||
| 5 | comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may" | 5 | comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may" |
| 6 | comment "also be needed; see USB_STORAGE Help for more info" | 6 | comment "also be needed; see USB_STORAGE Help for more info" |
| 7 | depends on USB | ||
| 8 | 7 | ||
| 9 | config USB_STORAGE | 8 | config USB_STORAGE |
| 10 | tristate "USB Mass Storage support" | 9 | tristate "USB Mass Storage support" |
| 11 | depends on USB && SCSI | 10 | depends on SCSI |
| 12 | ---help--- | 11 | ---help--- |
| 13 | Say Y here if you want to connect USB mass storage devices to your | 12 | Say Y here if you want to connect USB mass storage devices to your |
| 14 | computer's USB port. This is the driver you need for USB | 13 | computer's USB port. This is the driver you need for USB |
| @@ -188,7 +187,7 @@ config USB_STORAGE_CYPRESS_ATACB | |||
| 188 | 187 | ||
| 189 | config USB_STORAGE_ENE_UB6250 | 188 | config USB_STORAGE_ENE_UB6250 |
| 190 | tristate "USB ENE card reader support" | 189 | tristate "USB ENE card reader support" |
| 191 | depends on USB && SCSI | 190 | depends on SCSI |
| 192 | depends on USB_STORAGE | 191 | depends on USB_STORAGE |
| 193 | ---help--- | 192 | ---help--- |
| 194 | Say Y here if you wish to control a ENE SD/MS Card reader. | 193 | Say Y here if you wish to control a ENE SD/MS Card reader. |
| @@ -203,7 +202,7 @@ config USB_STORAGE_ENE_UB6250 | |||
| 203 | 202 | ||
| 204 | config USB_UAS | 203 | config USB_UAS |
| 205 | tristate "USB Attached SCSI" | 204 | tristate "USB Attached SCSI" |
| 206 | depends on USB && SCSI && BROKEN | 205 | depends on SCSI && BROKEN |
| 207 | help | 206 | help |
| 208 | The USB Attached SCSI protocol is supported by some USB | 207 | The USB Attached SCSI protocol is supported by some USB |
| 209 | storage devices. It permits higher performance by supporting | 208 | storage devices. It permits higher performance by supporting |
