summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-30 01:14:51 +0000
committerRalf Baechle <ralf@linux-mips.org>2006-11-30 01:14:51 +0000
commitaa414dff4f7bef29457592414551becdca72dd6b (patch)
treea9d12b4f7d31b04fab826c1e36b5046798382adf /include
parent0b7883f49810ec91755caa222b3b28f047b8c93b (diff)
downloadop-kernel-dev-aa414dff4f7bef29457592414551becdca72dd6b.zip
op-kernel-dev-aa414dff4f7bef29457592414551becdca72dd6b.tar.gz
[MIPS] Remove duplicate ISA DMA code for 0 DMA channel case.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-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 e85849a..23f789c 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
OpenPOWER on IntegriCloud