diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-01-26 14:26:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-23 15:03:46 -0800 |
commit | bb417020ba8c559eb52f57379ba17f669f8f72cd (patch) | |
tree | 5730f1047643ab695a4761e243f44a3ac2d16fd3 /drivers/usb/core/usb.h | |
parent | 80d4e8e9862fa71ce896195c60b691a623c38d49 (diff) | |
download | kernel-common-bb417020ba8c559eb52f57379ba17f669f8f72cd.tar.gz kernel-common-bb417020ba8c559eb52f57379ba17f669f8f72cd.tar.bz2 kernel-common-bb417020ba8c559eb52f57379ba17f669f8f72cd.zip |
USB: refactor usb device matching and create usb_device_match
This is needed for the quirk match code.
Cc: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/usb.h')
-rw-r--r-- | drivers/usb/core/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index 17830a81be14..86692a23573f 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -21,6 +21,8 @@ extern int usb_set_configuration(struct usb_device *dev, int configuration); extern void usb_kick_khubd(struct usb_device *dev); extern void usb_resume_root_hub(struct usb_device *dev); +extern int usb_match_device(struct usb_device *dev, + const struct usb_device_id *id); extern int usb_hub_init(void); extern void usb_hub_cleanup(void); |