summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-04-28 20:57:14 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-02 17:25:51 (GMT)
commite42dc36b2cf9849362967ea836196c8ef6079ec7 (patch)
tree6add45fc05137ee02c1962f0bc0a7607675b5059 /drivers/usb
parentce0d7d3f575fc1ba6a89c3c651e710355590daff (diff)
downloadlinux-e42dc36b2cf9849362967ea836196c8ef6079ec7.tar.xz
usb-storage: fix build failure in OneTouch driver
If USB storage is built-in but input subsystem is made modular then OneTouch button functionality can not be selected. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/storage/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig
index 0f6d234..3d92496 100644
--- a/drivers/usb/storage/Kconfig
+++ b/drivers/usb/storage/Kconfig
@@ -123,7 +123,8 @@ config USB_STORAGE_ALAUDA
config USB_STORAGE_ONETOUCH
bool "Support OneTouch Button on Maxtor Hard Drives"
- depends on USB_STORAGE && INPUT_EVDEV
+ depends on USB_STORAGE
+ depends on INPUT=y || INPUT=USB_STORAGE
help
Say Y here to include additional code to support the Maxtor OneTouch
USB hard drive's onetouch button.