summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-04-28 22:57:14 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-02 19:25:51 +0200
commite42dc36b2cf9849362967ea836196c8ef6079ec7 (patch)
tree6add45fc05137ee02c1962f0bc0a7607675b5059 /drivers
parentusb: ldusb: ld_usb semaphore to mutex (diff)
downloadlinux-e42dc36b2cf9849362967ea836196c8ef6079ec7.tar.xz
linux-e42dc36b2cf9849362967ea836196c8ef6079ec7.zip
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')
-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 0f6d234d699b..3d9249632ae1 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.