summaryrefslogtreecommitdiffstats
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorLei Ming <tom.leiming@gmail.com>2008-02-25 18:07:28 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-04 14:57:43 -0800
commitd6d914f52b15d5a8e81ad481e02d9ab30d412a29 (patch)
tree8ad42c65c99a5705ac11fca7e52e4530cf912f46 /include/linux/usb.h
parentc2c8d1fdadda4abc90efdb7176f44cb903634511 (diff)
downloadkernel-crypto-d6d914f52b15d5a8e81ad481e02d9ab30d412a29.tar.gz
kernel-crypto-d6d914f52b15d5a8e81ad481e02d9ab30d412a29.tar.xz
kernel-crypto-d6d914f52b15d5a8e81ad481e02d9ab30d412a29.zip
USB: fix comment of struct usb_interface
update the comment for the removed "driver" field and being out-of-order of @cur_altsetting and @num_altsetting. Signed-off-by: Lei Ming <tom.leiming@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r--include/linux/usb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 5bd3ae8aaaf..583e0481dfa 100644
--- 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