diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-01-26 08:26:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-23 18:03:46 -0500 |
commit | bb417020ba8c559eb52f57379ba17f669f8f72cd (patch) | |
tree | 5730f1047643ab695a4761e243f44a3ac2d16fd3 /drivers/usb/core/usb.h | |
parent | 80d4e8e9862fa71ce896195c60b691a623c38d49 (diff) |
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); | |||
21 | 21 | ||
22 | extern void usb_kick_khubd(struct usb_device *dev); | 22 | extern void usb_kick_khubd(struct usb_device *dev); |
23 | extern void usb_resume_root_hub(struct usb_device *dev); | 23 | extern void usb_resume_root_hub(struct usb_device *dev); |
24 | extern int usb_match_device(struct usb_device *dev, | ||
25 | const struct usb_device_id *id); | ||
24 | 26 | ||
25 | extern int usb_hub_init(void); | 27 | extern int usb_hub_init(void); |
26 | extern void usb_hub_cleanup(void); | 28 | extern void usb_hub_cleanup(void); |