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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Rob Herring 2015-02-03 17:03:35 -06:00 • committed by Mark Brown
commit 9064bf3c3c
2 changed files with 1 additions and 1 deletions

View 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)