From: Daniel Mack Date: Fri, 15 Nov 2013 13:19:02 +0000 (+0100) Subject: usb: ohci-pxa27x: include linux/dma-mapping.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9876388edfa553960815110acae4544359b385b5;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include +#include #include #include #include