summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorDaniel Mack2013-11-15 14:19:02 +0100
committerGreg Kroah-Hartman2013-12-05 01:57:46 +0100
commit9876388edfa553960815110acae4544359b385b5 (patch)
tree6ef98d738a35b5bee4ef0bee4da00802c114cc1d /drivers/usb/host
parentUSB: cdc-acm: Added support for the Lenovo RD02-D400 USB Modem (diff)
downloadkernel-qcow2-linux-9876388edfa553960815110acae4544359b385b5.tar.gz
kernel-qcow2-linux-9876388edfa553960815110acae4544359b385b5.tar.xz
kernel-qcow2-linux-9876388edfa553960815110acae4544359b385b5.zip
usb: ohci-pxa27x: include linux/dma-mapping.h
Include linux/dma-mapping.h to make the new functions available that are used since 22d9d8e83 ("DMA-API: usb: use dma_set_coherent_mask()"). drivers/usb/host/ohci-pxa27x.c: In function ‘ohci_pxa_of_init’: drivers/usb/host/ohci-pxa27x.c:310:2: error: implicit declaration of function ‘dma_coerce_mask_and_coherent’ [-Werror=implicit-function-declaration] drivers/usb/host/ohci-pxa27x.c:310:2: error: implicit declaration of function ‘DMA_BIT_MASK’ [-Werror=implicit-function-declaration] Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ohci-pxa27x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c
index e89ac4d4b87e..9b7435f0dcd6 100644
--- a/drivers/usb/host/ohci-pxa27x.c
+++ b/drivers/usb/host/ohci-pxa27x.c
@@ -21,6 +21,7 @@
#include <linux/clk.h>
#include <linux/device.h>
+#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>