Skip to content

Commit b1e9e7e

Browse files
heghegregkh
authored andcommitted
usb: core: Export usb_device_match_id
Export usb_device_match_id so that it can be used for easily matching an usb_device with a table of IDs. Signed-off-by: Razvan Heghedus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent cf081d0 commit b1e9e7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/core/driver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ const struct usb_device_id *usb_device_match_id(struct usb_device *udev,
834834

835835
return NULL;
836836
}
837+
EXPORT_SYMBOL_GPL(usb_device_match_id);
837838

838839
bool usb_driver_applicable(struct usb_device *udev,
839840
struct usb_device_driver *udrv)

0 commit comments

Comments
 (0)