onetouch.c (664b0bae0b87f69bc9deb098f5e0158b9cf18e04) | onetouch.c (32bca2df7da27be34371a37f9bb5e2b85fdd92bd) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Support for the Maxtor OneTouch USB hard drive's button 4 * 5 * Current development and maintenance by: 6 * Copyright (c) 2005 Nick Sillik <n.sillik@temple.edu> 7 * 8 * Initial work by: --- 11 unchanged lines hidden (view full) --- 20#include "debug.h" 21#include "scsiglue.h" 22 23#define DRV_NAME "ums-onetouch" 24 25MODULE_DESCRIPTION("Maxtor USB OneTouch hard drive button driver"); 26MODULE_AUTHOR("Nick Sillik <n.sillik@temple.edu>"); 27MODULE_LICENSE("GPL"); | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Support for the Maxtor OneTouch USB hard drive's button 4 * 5 * Current development and maintenance by: 6 * Copyright (c) 2005 Nick Sillik <n.sillik@temple.edu> 7 * 8 * Initial work by: --- 11 unchanged lines hidden (view full) --- 20#include "debug.h" 21#include "scsiglue.h" 22 23#define DRV_NAME "ums-onetouch" 24 25MODULE_DESCRIPTION("Maxtor USB OneTouch hard drive button driver"); 26MODULE_AUTHOR("Nick Sillik <n.sillik@temple.edu>"); 27MODULE_LICENSE("GPL"); |
28MODULE_IMPORT_NS(USB_STORAGE); |
|
28 29#define ONETOUCH_PKT_LEN 0x02 30#define ONETOUCH_BUTTON KEY_PROG1 31 32static int onetouch_connect_input(struct us_data *ss); 33static void onetouch_release_input(void *onetouch_); 34 35struct usb_onetouch { --- 271 unchanged lines hidden --- | 29 30#define ONETOUCH_PKT_LEN 0x02 31#define ONETOUCH_BUTTON KEY_PROG1 32 33static int onetouch_connect_input(struct us_data *ss); 34static void onetouch_release_input(void *onetouch_); 35 36struct usb_onetouch { --- 271 unchanged lines hidden --- |