From 322d96e29dd160a3b3824decfa8765513ce7c4e3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 9 Jul 2013 14:23:17 +0200 Subject: [PATCH] dma: apbh: remove CONFIG_ARCH_DMA_PIO_WORDS This define allows to overwrite DMA_PIO_WORDS with an architecture specific value. Since this is unused and not clean anyway remove it. Signed-off-by: Sascha Hauer --- include/dma/apbh-dma.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/include/dma/apbh-dma.h b/include/dma/apbh-dma.h index 52747e2fb..f10bb6f61 100644 --- a/include/dma/apbh-dma.h +++ b/include/dma/apbh-dma.h @@ -28,12 +28,6 @@ #include -#ifndef CONFIG_ARCH_DMA_PIO_WORDS -#define DMA_PIO_WORDS 15 -#else -#define DMA_PIO_WORDS CONFIG_ARCH_DMA_PIO_WORDS -#endif - #define MXS_DMA_ALIGNMENT 32 /* @@ -90,7 +84,8 @@ struct mxs_dma_cmd { dma_addr_t address; unsigned long alternate; }; - unsigned long pio_words[DMA_PIO_WORDS]; +#define APBH_DMA_PIO_WORDS 15 + unsigned long pio_words[APBH_DMA_PIO_WORDS]; }; /*