summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.c
diff options
context:
space:
mode:
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>2005-07-28 14:49:01 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 16:22:55 -0700
commit34008dbfe8c00eca67f97bad484eb5cb03bafe66 (patch)
tree72b7a8dc823dc1f1e77041025c7572499e65db64 /drivers/usb/storage/usb.c
parent26186ba77b493204ae0fadc3c88a67b14f22168f (diff)
downloadblackbird-op-linux-34008dbfe8c00eca67f97bad484eb5cb03bafe66.tar.gz
blackbird-op-linux-34008dbfe8c00eca67f97bad484eb5cb03bafe66.zip
[PATCH] USB Storage: add support for Maxtor One-Touch button
This patch is originally from Nick Sillik, and has been rediffed against the latest tree. This patch adds usability to the OneTouch Button on Maxtor External USB Hard Drives. Using an unusual device entry it declares an extra init function which claims the interrupt endpoint associated with this button. The button is connected to the input system. Signed-off-by: Nick Sillik <n.sillik@temple.edu> Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r--drivers/usb/storage/usb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index 97b9ebb8a082..cb4c770baf32 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -90,7 +90,9 @@
#ifdef CONFIG_USB_STORAGE_JUMPSHOT
#include "jumpshot.h"
#endif
-
+#ifdef CONFIG_USB_STORAGE_ONETOUCH
+#include "onetouch.h"
+#endif
/* Some informational data */
MODULE_AUTHOR("Matthew Dharm <mdharm-usb@one-eyed-alien.net>");
OpenPOWER on IntegriCloud