diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-29 06:40:28 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-29 13:42:40 -0500 |
commit | dcea83adc666061864b82c96e059dffe7268b512 (patch) | |
tree | 4882086842f53bee3f6c655e6a3283effd3fbdff /arch/arm/mach-pnx4008 | |
parent | c72e005b099302b3c6bee8381396199b77b6dd4f (diff) |
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pnx4008')
-rw-r--r-- | arch/arm/mach-pnx4008/dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-pnx4008/dma.c b/arch/arm/mach-pnx4008/dma.c index ac2f70eddb9e..425f7188505e 100644 --- a/arch/arm/mach-pnx4008/dma.c +++ b/arch/arm/mach-pnx4008/dma.c | |||
@@ -25,9 +25,8 @@ | |||
25 | 25 | ||
26 | #include <asm/system.h> | 26 | #include <asm/system.h> |
27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
28 | #include <asm/dma.h> | 28 | #include <mach/dma.h> |
29 | #include <asm/dma-mapping.h> | 29 | #include <asm/dma-mapping.h> |
30 | #include <asm/mach/dma.h> | ||
31 | #include <mach/clock.h> | 30 | #include <mach/clock.h> |
32 | 31 | ||
33 | static struct dma_channel { | 32 | static struct dma_channel { |