Skip to contentSkip to conversation

usb: fix comment of struct usb_interface

PATCH New [email protected] 1 participant 1 message Feb 25, 2008 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/linux/usb.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 include/linux/usb.h
include/linux/usb.h +1 -2
old mode 100644
new mode 100755
index 2372e2e..8a864f8
@@ -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
Signature · 1 line
1.5.4.rc4.338.g923d4