summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-11 16:25:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-12 01:59:35 +0200
commit5e0aa49ec61e888d50727a7e80e87626f745c119 (patch)
treee6b9493274672303fd74c14548aa59a4e24ca447 /drivers/usb/chipidea/ci.h
parentusb: chipidea: add power_budget limit for ehci to platform data (diff)
downloadlinux-5e0aa49ec61e888d50727a7e80e87626f745c119.tar.xz
linux-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/ci.h')
-rw-r--r--drivers/usb/chipidea/ci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
index c605acc5568a..8a6872aae79f 100644
--- a/drivers/usb/chipidea/ci.h
+++ b/drivers/usb/chipidea/ci.h
@@ -21,7 +21,6 @@
/******************************************************************************
* DEFINE
*****************************************************************************/
-#define DMA_ADDR_INVALID (~(dma_addr_t)0)
#define CI13XXX_PAGE_SIZE 4096ul /* page size for TD's */
#define ENDPT_MAX 32