projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf081d0
)
usb: core: Export usb_device_match_id
author
Razvan Heghedus
<heghedus.razvan@gmail.com>
Mon, 13 Dec 2021 18:36:14 +0000
(20:36 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 16:02:04 +0000
(17:02 +0100)
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>
drivers/usb/core/driver.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/driver.c
b/drivers/usb/core/driver.c
index 267a134311be461f28aac88e770e0c3975fb02cf..355ed33a21792bab25e02b7dc5845d36eda96937 100644
(file)
--- a/
drivers/usb/core/driver.c
+++ b/
drivers/usb/core/driver.c
@@
-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)