aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi/pxa2xx_spi.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-02-03 17:03:35 -0600
committerMark Brown <broonie@kernel.org>2015-02-04 20:14:26 +0000
commit9064bf3c3cdf92f6b9ac6634ff570dedf0035992 (patch)
treebc4c2dfda16de711fbe0b9fe921c47a5568085df /include/linux/spi/pxa2xx_spi.h
parentspi: pxa2xx: Fix unconditional call of lpss_ssp_setup in pxa2xx_spi_resume (diff)
downloadlinux-dev-9064bf3c3cdf92f6b9ac6634ff570dedf0035992.tar.xz
linux-dev-9064bf3c3cdf92f6b9ac6634ff570dedf0035992.zip
spi: spi-pxa2xx: only include mach/dma.h for legacy DMA
Move the include of mach/dma.h to the legacy PXA DMA code where it is used. This enables building spi-pxa2xx on ARM64. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--include/linux/spi/pxa2xx_spi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h
index d5a316550177..46d8fa942631 100644
--- a/include/linux/spi/pxa2xx_spi.h
+++ b/include/linux/spi/pxa2xx_spi.h
@@ -57,7 +57,6 @@ struct pxa2xx_spi_chip {
#if defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP)
#include <linux/clk.h>
-#include <mach/dma.h>
extern void pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_master *info);