2008-02-25 10:11:17

by Ming Lei

[permalink] [raw]
Subject: [PATCH] usb: fix comment of struct usb_interface

From: Lei Ming <[email protected]>

update the comment for the removed "driver" field and being
out-of-order of @cur_altsetting and @num_altsetting.

Signed-off-by: Lei Ming <[email protected]>
---
include/linux/usb.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
mode change 100644 => 100755 include/linux/usb.h

diff --git a/include/linux/usb.h b/include/linux/usb.h
old mode 100644
new mode 100755
index 2372e2e..8a864f8
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -94,10 +94,9 @@ enum usb_interface_condition {
* @altsetting: array of interface structures, one for each alternate
* setting that may be selected. Each one includes a set of
* endpoint configurations. They will be in no particular order.
- * @num_altsetting: number of altsettings defined.
* @cur_altsetting: the current altsetting.
+ * @num_altsetting: number of altsettings defined.
* @intf_assoc: interface association descriptor
- * @driver: the USB driver that is bound to this interface.
* @minor: the minor number assigned to this interface, if this
* interface is bound to a driver that uses the USB major number.
* If this interface does not use the USB major, this field should
--
1.5.4.rc4.338.g923d4