usb-storage: fix build failure in OneTouch driver
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Apr 2008 20:57:14 +0000 (16:57 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 May 2008 17:25:51 +0000 (10:25 -0700)
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>
drivers/usb/storage/Kconfig

index 0f6d234d699b1327b2691ebca03f2a2707fe43a1..3d9249632ae12e7051174817241ef37ea6f2cd4c 100644 (file)
@@ -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.