sh: Fix up MAX_DMA_CHANNELS definition when DMA is disabled.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 17 Dec 2009 05:25:10 +0000 (14:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 17 Dec 2009 05:25:10 +0000 (14:25 +0900)
MAX_DMA_CHANNELS is tested for the total number of channels in order to
populate an IRQ map. Stub this out completely when no DMA support is
enabled -- as used to be the default behaviour before this was
generalized for use by the dmaengine code.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found