From 551a8ac64e4ea9e9e2b8656ee3bf94c8d0821d41 Mon Sep 17 00:00:00 2001 From: Alexander Shishkin Date: Fri, 11 May 2012 17:25:49 +0300 Subject: usb: chipidea: brush up structure definitions Get rid of trailing comments in the structure definitions in favor of kernel-doc. Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- drivers/usb/chipidea/udc.h | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'drivers/usb/chipidea/udc.h') diff --git a/drivers/usb/chipidea/udc.h b/drivers/usb/chipidea/udc.h index 3a9e6694f327..e839a2b3b837 100644 --- a/drivers/usb/chipidea/udc.h +++ b/drivers/usb/chipidea/udc.h @@ -59,15 +59,24 @@ struct ci13xxx_qh { struct usb_ctrlrequest setup; } __attribute__ ((packed)); -/* Extension of usb_request */ +/** + * struct ci13xxx_req - usb request representation + * @req: request structure for gadget drivers + * @map: is the request mapped + * @queue: link to QH list + * @ptr: transfer descriptor for this request + * @dma: dma address for the transfer descriptor + * @zptr: transfer descriptor for the zero packet + * @zdma: dma address of the zero packet's transfer descriptor + */ struct ci13xxx_req { - struct usb_request req; - unsigned map; - struct list_head queue; - struct ci13xxx_td *ptr; - dma_addr_t dma; - struct ci13xxx_td *zptr; - dma_addr_t zdma; + struct usb_request req; + unsigned map; + struct list_head queue; + struct ci13xxx_td *ptr; + dma_addr_t dma; + struct ci13xxx_td *zptr; + dma_addr_t zdma; }; #ifdef CONFIG_USB_CHIPIDEA_UDC -- cgit v1.2.3