[U-Boot] [PATCH 08/18] dm: usb: Correct the struct usb_driver_entry comment

Simon Glass sjg at chromium.org
Tue Jul 7 00:47:47 CEST 2015


The function documentation is incorrect. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/usb.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/usb.h b/include/usb.h
index dca512d..1b9140f 100644
--- a/include/usb.h
+++ b/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;
-- 
2.4.3.573.g4eafbef



More information about the U-Boot mailing list