summaryrefslogtreecommitdiffstats
path: root/drivers/spi
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 /drivers/spi
parent48421adfe7e9bb0f972ed22eaf0cba215dcc35bb (diff)
downloadlinux-stable-9064bf3c3cdf92f6b9ac6634ff570dedf0035992.tar.gz
linux-stable-9064bf3c3cdf92f6b9ac6634ff570dedf0035992.tar.bz2
linux-stable-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 'drivers/spi')
-rw-r--r--drivers/spi/spi-pxa2xx-pxadma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-pxa2xx-pxadma.c b/drivers/spi/spi-pxa2xx-pxadma.c
index 6c82d496b58e..3fecaaa5b0a5 100644
--- a/drivers/spi/spi-pxa2xx-pxadma.c
+++ b/drivers/spi/spi-pxa2xx-pxadma.c
@@ -25,6 +25,7 @@
#include <linux/spi/spi.h>
#include <linux/spi/pxa2xx_spi.h>
+#include <mach/dma.h>
#include "spi-pxa2xx.h"
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)