Skip to content
Commit dcea83ad authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Hide ISA DMA API when ISA_DMA_API is unset



When ISA_DMA_API is unset, we're not implementing the ISA DMA API,
so there's no point in publishing the prototypes via asm/dma.h, nor
including the machine dependent parts of that API.

This allows us to remove a lot of mach/dma.h files which don't contain
any useful code.  Unfortunately though, some platforms put their own
private non-ISA definitions into mach/dma.h, so we leave these behind
and fix the appropriate #include statments.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c72e005b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment