Skip to content

Commit

Permalink
usb: core: Export usb_device_match_id
Browse files Browse the repository at this point in the history
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 <heghedus.razvan@gmail.com>
Link: https://lore.kernel.org/r/20211213183617.14156-1-heghedus.razvan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Razvan Heghedus authored and Greg Kroah-Hartman committed Dec 17, 2021
1 parent cf081d0 commit b1e9e7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/core/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ const struct usb_device_id *usb_device_match_id(struct usb_device *udev,

return NULL;
}
EXPORT_SYMBOL_GPL(usb_device_match_id);

bool usb_driver_applicable(struct usb_device *udev,
struct usb_device_driver *udrv)
Expand Down

0 comments on commit b1e9e7e

Please sign in to comment.