spi: spi-pxa2xx: only include mach/dma.h for legacy DMA
Subsystems (3)
PATCH 1/1 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.
--- drivers/spi/spi-pxa2xx-pxadma.c | 1 + include/linux/spi/pxa2xx_spi.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-pxa2xx-pxadma.c +1 -0
@@ -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)
include/linux/spi/pxa2xx_spi.h +0 -1
@@ -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);
Signature · 6 lines
2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1423004615-16085-1-git-send-email-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Quoted 2 lines · Rob Herring
Move the include of
mach/dma.hto the legacy PXA DMA code where it is used. This enables building spi-pxa2xx on ARM64.
If this enables the building of spi-pxa2xx on ARMv8 I'd expect to see a Kconfig change as well, we're not getting build failures at the minute?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Mark Brown
Quoted 2 lines · Rob Herring
Move the include of
mach/dma.hto the legacy PXA DMA code where it is used. This enables building spi-pxa2xx on ARM64.If this enables the building of spi-pxa2xx on ARMv8 I'd expect to see a
Kconfigchange as well, we're not getting build failures at the minute?
Sorry, I should have said it is in preparation to enable/add ARCH_MMP on ARM64 for PXA1928.
Rob
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Mark Brown
AppliedQuoted 2 lines · Rob Herring
Move the include of
mach/dma.hto the legacy PXA DMA code where it is used. This enables building spi-pxa2xx on ARM64.
Applied, thanks.