aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/udc.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-11 17:25:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-11 16:59:35 -0700
commit5e0aa49ec61e888d50727a7e80e87626f745c119 (patch)
treee6b9493274672303fd74c14548aa59a4e24ca447 /drivers/usb/chipidea/udc.h
parentusb: chipidea: add power_budget limit for ehci to platform data (diff)
downloadlinux-dev-5e0aa49ec61e888d50727a7e80e87626f745c119.tar.xz
linux-dev-5e0aa49ec61e888d50727a7e80e87626f745c119.zip
usb: chipidea: use generic map/unmap routines
We're one of the remaining drivers to map/unmap requests by hand. Switch to using generic gadget routines for that instead. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/udc.h')
-rw-r--r--drivers/usb/chipidea/udc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/udc.h b/drivers/usb/chipidea/udc.h
index e839a2b3b837..4ff2384d7ca8 100644
--- a/drivers/usb/chipidea/udc.h
+++ b/drivers/usb/chipidea/udc.h
@@ -62,7 +62,6 @@ struct ci13xxx_qh {
/**
* 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
@@ -71,7 +70,6 @@ struct ci13xxx_qh {
*/
struct ci13xxx_req {
struct usb_request req;
- unsigned map;
struct list_head queue;
struct ci13xxx_td *ptr;
dma_addr_t dma;