summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/dma.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-30 02:14:51 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-11-30 02:14:51 +0100
commitaa414dff4f7bef29457592414551becdca72dd6b (patch)
treea9d12b4f7d31b04fab826c1e36b5046798382adf /include/asm-mips/dma.h
parent[MIPS] Remove unused definition of cpu_to_lelongp() (diff)
downloadlinux-aa414dff4f7bef29457592414551becdca72dd6b.tar.xz
linux-aa414dff4f7bef29457592414551becdca72dd6b.zip
[MIPS] Remove duplicate ISA DMA code for 0 DMA channel case.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/dma.h')
-rw-r--r--include/asm-mips/dma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/dma.h b/include/asm-mips/dma.h
index e85849ac165f..23f789c80845 100644
--- a/include/asm-mips/dma.h
+++ b/include/asm-mips/dma.h
@@ -74,7 +74,9 @@
*
*/
+#ifndef GENERIC_ISA_DMA_SUPPORT_BROKEN
#define MAX_DMA_CHANNELS 8
+#endif
/*
* The maximum address in KSEG0 that we can perform a DMA transfer to on this