summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci.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/ci.h
parentbd841986e4e1fe60fe97da45be5139f173c5188e (diff)
downloadop-kernel-dev-5e0aa49ec61e888d50727a7e80e87626f745c119.zip
op-kernel-dev-5e0aa49ec61e888d50727a7e80e87626f745c119.tar.gz
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 c605acc..8a6872a 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
OpenPOWER on IntegriCloud