Эх сурвалжийг харах

dm: usb: Correct the struct usb_driver_entry comment

The function documentation is incorrect. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
Simon Glass 10 жил өмнө
parent
commit
b483915ffd
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      include/usb.h

+ 2 - 2
include/usb.h

@@ -493,8 +493,8 @@ struct usb_device_id {
 
 /**
  * struct usb_driver_entry - Matches a driver to its usb_device_ids
- * @compatible: Compatible string
- * @data: Data for this compatible string
+ * @driver: Driver to use
+ * @match: List of match records for this driver, terminated by {}
  */
 struct usb_driver_entry {
 	struct driver *driver;