projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f7642
)
HID: core: Export hid_match_id()
author
Bastien Nocera
<hadess@hadess.net>
Tue, 30 Aug 2022 13:25:45 +0000
(15:25 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 7 Sep 2022 20:07:49 +0000
(22:07 +0200)
Export hid_match_id() so it can be used in device-specific drivers to
implement their own matching with open-coding a match function.
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-core.c
b/drivers/hid/hid-core.c
index b7f5566e338d77dffb4ba48f5c817a09dcb854f0..72f8d8835b34ca6be574f17aec784c2518259d91 100644
(file)
--- a/
drivers/hid/hid-core.c
+++ b/
drivers/hid/hid-core.c
@@
-2088,6
+2088,7
@@
const struct hid_device_id *hid_match_id(const struct hid_device *hdev,
return NULL;
}
+EXPORT_SYMBOL_GPL(hid_match_id);
static const struct hid_device_id hid_hiddev_list[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_MGE, USB_DEVICE_ID_MGE_UPS) },