usb: ohci-pxa27x: include linux/dma-mapping.h

This change “usb: ohci-pxa27x: include linux/dma-mapping.h” (commit 9876388) in Linux kernel is authored by Daniel Mack <zonque [at] gmail.com> on Fri Nov 15 14:19:02 2013 +0100.

Description of "usb: ohci-pxa27x: include linux/dma-mapping.h"

The change “usb: ohci-pxa27x: include linux/dma-mapping.h” introduces changes as follows.

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>

Linux kernel releases containing commit 9876388

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "usb: ohci-pxa27x: include linux/dma-mapping.h"

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/usb/host/ohci-pxa27x.c | 1 +
 1 file changed, 1 insertion(+)
 
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>

The commit for this change in Linux stable tree is 9876388 (patch).

Last modified: 2020/02/10