Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitry Torokhov and committed by
Greg Kroah-Hartman
e42dc36b ce0d7d3f

+2 -1
+2 -1
drivers/usb/storage/Kconfig
··· 123 123 124 124 config USB_STORAGE_ONETOUCH 125 125 bool "Support OneTouch Button on Maxtor Hard Drives" 126 - depends on USB_STORAGE && INPUT_EVDEV 126 + depends on USB_STORAGE 127 + depends on INPUT=y || INPUT=USB_STORAGE 127 128 help 128 129 Say Y here to include additional code to support the Maxtor OneTouch 129 130 USB hard drive's onetouch button.