aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/dma.h')
-rw-r--r--arch/xtensa/include/asm/dma.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/dma.h b/arch/xtensa/include/asm/dma.h
index e30f3abf48f..137ca3945b0 100644
--- a/arch/xtensa/include/asm/dma.h
+++ b/arch/xtensa/include/asm/dma.h
@@ -44,8 +44,9 @@
* the value desired).
*/
+#ifndef MAX_DMA_ADDRESS
#define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KIO_SIZE - 1)
-
+#endif
/* Reserve and release a DMA channel */
extern int request_dma(unsigned int dmanr, const char * device_id);