spi: spi-pxa2xx: only include mach/dma.h for legacy DMA
authorRob Herring <robh@kernel.org>
Tue, 3 Feb 2015 23:03:35 +0000 (17:03 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2015 20:14:26 +0000 (20:14 +0000)
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>
drivers/spi/spi-pxa2xx-pxadma.c
include/linux/spi/pxa2xx_spi.h

index 6c82d496b58e84c04236c0a219535bf2b9fd9c28..3fecaaa5b0a58390fac737a19bdc195a2fed5780 100644 (file)
@@ -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)
index d5a316550177299fefaee37d6bf3e6a0e3322a8a..46d8fa9426311fa8e1edbd4d2a382eef5ba57e70 100644 (file)
@@ -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);
 
This page took 0.045608 seconds and 5 git commands to generate.