aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/gadget.h')
-rw-r--r--include/linux/usb/gadget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index 46705e91573..c1527c2ef3c 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -481,7 +481,7 @@ static inline void *get_gadget_data (struct usb_gadget *gadget)
481 481
482/** 482/**
483 * gadget_is_dualspeed - return true iff the hardware handles high speed 483 * gadget_is_dualspeed - return true iff the hardware handles high speed
484 * @gadget: controller that might support both high and full speeds 484 * @g: controller that might support both high and full speeds
485 */ 485 */
486static inline int gadget_is_dualspeed(struct usb_gadget *g) 486static inline int gadget_is_dualspeed(struct usb_gadget *g)
487{ 487{
@@ -497,7 +497,7 @@ static inline int gadget_is_dualspeed(struct usb_gadget *g)
497 497
498/** 498/**
499 * gadget_is_otg - return true iff the hardware is OTG-ready 499 * gadget_is_otg - return true iff the hardware is OTG-ready
500 * @gadget: controller that might have a Mini-AB connector 500 * @g: controller that might have a Mini-AB connector
501 * 501 *
502 * This is a runtime test, since kernels with a USB-OTG stack sometimes 502 * This is a runtime test, since kernels with a USB-OTG stack sometimes
503 * run on boards which only have a Mini-B (or Mini-A) connector. 503 * run on boards which only have a Mini-B (or Mini-A) connector.