Skip to content

Commit

Permalink
spi: spi-pxa2xx: only include mach/dma.h for legacy DMA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring authored and Mark Brown committed Feb 4, 2015
1 parent 48421ad commit 9064bf3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions drivers/spi/spi-pxa2xx-pxadma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion include/linux/spi/pxa2xx_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9064bf3

Please sign in to comment.