Skip to content
Commit 2f7bb2df authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4385af80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment