Commit ac525f59 authored by Pankaj Dubey's avatar Pankaj Dubey Committed by Catalin Marinas

arm64: fix build error if DMA_CMA is enabled

arm64/include/asm/dma-contiguous.h is trying to include
<asm-genric/dma-contiguous.h> which does not exist, and thus failing
build for arm64 if we enable CONFIG_DMA_CMA. This patch fixes build
error by removing unwanted header inclusion from arm64's dma-contiguous.h.
Signed-off-by: default avatarPankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: default avatarSomraj Mani <somraj.mani@samsung.com>
Acked-by: default avatarLaura Abbott <lauraa@codeaurora.org>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent fb4a9602
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#ifdef CONFIG_DMA_CMA #ifdef CONFIG_DMA_CMA
#include <linux/types.h> #include <linux/types.h>
#include <asm-generic/dma-contiguous.h>
static inline void static inline void
dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { } dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment