summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2015-09-05 16:53:56 +0200
committerMichael Brown2015-09-06 22:51:38 +0200
commit866e52581451238e840be214a34648da2958dafd (patch)
treefda435e25eab8c09de591ab5e394215dad2e0aef /src/include
parent[efi] Implement the EFI_PXE_BASE_CODE_PROTOCOL (diff)
downloadipxe-866e52581451238e840be214a34648da2958dafd.tar.gz
ipxe-866e52581451238e840be214a34648da2958dafd.tar.xz
ipxe-866e52581451238e840be214a34648da2958dafd.zip
[usb] Expose usb_find_driver()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/usb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ipxe/usb.h b/src/include/ipxe/usb.h
index ab060b8f4..f7c0b96e5 100644
--- a/src/include/ipxe/usb.h
+++ b/src/include/ipxe/usb.h
@@ -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 */