[usb] Expose usb_find_driver()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2015-09-05 15:53:56 +01:00
parent 3376fa520b
commit 866e525814
2 changed files with 56 additions and 42 deletions

View File

@@ -1316,4 +1316,9 @@ struct usb_driver {
/** Declare a USB driver */
#define __usb_driver __table_entry ( USB_DRIVERS, 01 )
extern struct usb_driver * usb_find_driver ( unsigned int vendor,
unsigned int product,
struct usb_class *class,
struct usb_device_id **id );
#endif /* _IPXE_USB_H */