mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 1/2] usb: core: Export usb_device_match_id
@ 2021-12-13 18:36 Razvan Heghedus
  2021-12-13 18:36 ` [PATCH v4 2/2] usb: misc: ehset: Rework test mode entry Razvan Heghedus
  0 siblings, 1 reply; 2+ messages in thread
From: Razvan Heghedus @ 2021-12-13 18:36 UTC (permalink / raw)
  Cc: heghedus.razvan, Greg Kroah-Hartman, Johan Hovold, Wei Ming Chen,
	Peter Chen, Anant Thazhemadam, linux-usb, linux-kernel

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>
---
 Changes in v4:
  - make a patch series
 drivers/usb/core/driver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index 267a134311be..355ed33a2179 100644
--- 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)
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-13 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 18:36 [PATCH v4 1/2] usb: core: Export usb_device_match_id Razvan Heghedus
2021-12-13 18:36 ` [PATCH v4 2/2] usb: misc: ehset: Rework test mode entry Razvan Heghedus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®