diff options
author | 2009-12-17 14:25:10 +0900 | |
---|---|---|
committer | 2009-12-17 14:25:10 +0900 | |
commit | 2f7bb2dfed3b15b388c88250b66f590aabc438da (patch) | |
tree | b99c00cb39c62cf823d097659607338791c33a2c /kernel/range.c | |
parent | sh: dmaengine support for SH7785 (diff) | |
download | wireguard-linux-2f7bb2dfed3b15b388c88250b66f590aabc438da.tar.xz wireguard-linux-2f7bb2dfed3b15b388c88250b66f590aabc438da.zip |
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>
Diffstat (limited to 'kernel/range.c')
0 files changed, 0 insertions, 0 deletions