summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dma/apbh-dma.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/dma/apbh-dma.h b/include/dma/apbh-dma.h
index 52747e2fbf..f10bb6f615 100644
--- a/include/dma/apbh-dma.h
+++ b/include/dma/apbh-dma.h
@@ -28,12 +28,6 @@
#include <linux/list.h>
-#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];
};
/*