summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/dma.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-19 18:50:09 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-05-19 18:50:09 +0900
commite24cca19babe33a7d05712df041f5abbeca4f1bf (patch)
tree59eac5df17932f08b2283ecf036dec2698f79d5f /arch/sh/include/asm/dma.h
parent2ff9f317f15b7c3bd95273a7f04ca0b148850104 (diff)
sh: Kill off MAX_DMA_ADDRESS leftovers.
We don't support the ISA DMA API, so this is only ever misused. The dma-sh case inadvertently broke the dreamcast case by testing the wrong variable for the total number of channels, so this fixes that up too. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/dma.h')
-rw-r--r--arch/sh/include/asm/dma.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sh/include/asm/dma.h b/arch/sh/include/asm/dma.h
index e6c2871a00e..fb6e4f7b00a 100644
--- a/arch/sh/include/asm/dma.h
+++ b/arch/sh/include/asm/dma.h
@@ -17,14 +17,6 @@
#include <linux/device.h>
#include <asm-generic/dma.h>
-#ifdef CONFIG_NR_DMA_CHANNELS
-# define MAX_DMA_CHANNELS (CONFIG_NR_DMA_CHANNELS)
-#elif defined(CONFIG_NR_ONCHIP_DMA_CHANNELS)
-# define MAX_DMA_CHANNELS (CONFIG_NR_ONCHIP_DMA_CHANNELS)
-#else
-# define MAX_DMA_CHANNELS 0
-#endif
-
/*
* Read and write modes can mean drastically different things depending on the
* channel configuration. Consult your DMAC documentation and module