commit | 2f7bb2dfed3b15b388c88250b66f590aabc438da | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Thu Dec 17 14:25:10 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Thu Dec 17 14:25:10 2009 +0900 |
tree | b99c00cb39c62cf823d097659607338791c33a2c | |
parent | 4385af80bd617c6126c7ab8cb1c7d9417b548f2e [diff] |
sh: Fix up MAX_DMA_CHANNELS definition when DMA is disabled. 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>