diff mbox

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

Message ID 1436222877-17548-9-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass July 6, 2015, 10:47 p.m. UTC
The function documentation is incorrect. Fix it.

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

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

Comments

Marek Vasut July 6, 2015, 11:17 p.m. UTC | #1
On Tuesday, July 07, 2015 at 12:47:47 AM, Simon Glass wrote:
> The function documentation is incorrect. Fix it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
Simon Glass July 22, 2015, 11:40 p.m. UTC | #2
On 6 July 2015 at 17:17, Marek Vasut <marex@denx.de> wrote:
> On Tuesday, July 07, 2015 at 12:47:47 AM, Simon Glass wrote:
>> The function documentation is incorrect. Fix it.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>
> Acked-by: Marek Vasut <marex@denx.de>
>
> Best regards,
> Marek Vasut

Applied to u-boot-dm.
diff mbox

Patch

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;