[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>
This commit is contained in:
Russell King
2008-11-29 11:40:28 +00:00
committed by Russell King
부모 c72e005b09
커밋 dcea83adc6
49개의 변경된 파일61개의 추가작업 그리고 311개의 파일을 삭제

파일 보기

@@ -18,7 +18,7 @@
#include <linux/slab.h>
#include <linux/string.h>
#include <asm/dma.h>
#include <mach/dma.h>
#include <asm/system.h>
#include "mcp.h"

파일 보기

@@ -20,7 +20,7 @@
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <asm/dma.h>
#include <mach/dma.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/system.h>

파일 보기

@@ -15,7 +15,7 @@
#include <linux/proc_fs.h>
#include <linux/device.h>
#include <asm/dma.h>
#include <mach/dma.h>
#include "ucb1x00.h"

파일 보기

@@ -25,7 +25,7 @@
#include <linux/device.h>
#include <linux/mutex.h>
#include <asm/dma.h>
#include <mach/dma.h>
#include <mach/hardware.h>
#include "ucb1x00.h"

파일 보기

@@ -31,7 +31,7 @@
#include <linux/slab.h>
#include <linux/kthread.h>
#include <asm/dma.h>
#include <mach/dma.h>
#include <mach/collie.h>
#include <asm/mach-types.h>