usb: fixed compile errors

This commit is contained in:
Markinus 2011-03-06 13:30:29 +01:00 committed by tytung
parent f42b4692d6
commit 1b4ec557f5
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ struct mod_status {
static struct mod_status stat[3];
static DEFINE_SPINLOCK(usu_lock);
extern struct usb_device_id usb_storage_usb_ids[];
/*
*/
#define USB_US_DEFAULT_BIAS USB_US_TYPE_STOR

View File

@ -81,7 +81,8 @@ MODULE_PARM_DESC(delay_use, "seconds to delay before using a new device");
static char quirks[128];
module_param_string(quirks, quirks, sizeof(quirks), S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(quirks, "supplemental list of device IDs and their quirks");
extern int usb_usual_ignore_device(struct usb_interface *intf);
extern struct usb_device_id usb_storage_usb_ids[];
/*
* The entries in this table correspond, line for line,