Commit fd39c86b authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

docbook: fix usb content

Fix USB docbook warnings.

Warning(linux-2.6.23-git8//include/linux/usb/gadget.h:487): No description found for parameter 'g'
Warning(linux-2.6.23-git8//include/linux/usb/gadget.h:506): No description found for parameter 'g'

Warning(linux-2.6.23-git8//drivers/usb/core/hub.c:1416): No description found for parameter 'usb_dev'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c5d0e6a0
...@@ -1407,7 +1407,11 @@ int usb_new_device(struct usb_device *udev) ...@@ -1407,7 +1407,11 @@ int usb_new_device(struct usb_device *udev)
/** /**
* Similar to usb_disconnect() * usb_deauthorize_device - deauthorize a device (usbcore-internal)
* @usb_dev: USB device
*
* Move the USB device to a very basic state where interfaces are disabled
* and the device is in fact unconfigured and unusable.
* *
* We share a lock (that we have) with device_del(), so we need to * We share a lock (that we have) with device_del(), so we need to
* defer its call. * defer its call.
......
...@@ -481,7 +481,7 @@ static inline void *get_gadget_data (struct usb_gadget *gadget) ...@@ -481,7 +481,7 @@ static inline void *get_gadget_data (struct usb_gadget *gadget)
/** /**
* gadget_is_dualspeed - return true iff the hardware handles high speed * gadget_is_dualspeed - return true iff the hardware handles high speed
* @gadget: controller that might support both high and full speeds * @g: controller that might support both high and full speeds
*/ */
static inline int gadget_is_dualspeed(struct usb_gadget *g) static inline int gadget_is_dualspeed(struct usb_gadget *g)
{ {
...@@ -497,7 +497,7 @@ static inline int gadget_is_dualspeed(struct usb_gadget *g) ...@@ -497,7 +497,7 @@ static inline int gadget_is_dualspeed(struct usb_gadget *g)
/** /**
* gadget_is_otg - return true iff the hardware is OTG-ready * gadget_is_otg - return true iff the hardware is OTG-ready
* @gadget: controller that might have a Mini-AB connector * @g: controller that might have a Mini-AB connector
* *
* This is a runtime test, since kernels with a USB-OTG stack sometimes * This is a runtime test, since kernels with a USB-OTG stack sometimes
* run on boards which only have a Mini-B (or Mini-A) connector. * run on boards which only have a Mini-B (or Mini-A) connector.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment