summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ucb1x00-assabet.c
diff options
context:
space:
mode:
authorRussell King2008-11-29 12:40:28 +0100
committerRussell King2008-11-29 19:42:40 +0100
commitdcea83adc666061864b82c96e059dffe7268b512 (patch)
tree4882086842f53bee3f6c655e6a3283effd3fbdff /drivers/mfd/ucb1x00-assabet.c
parent[ARM] fix constant values of MAX_DMA_ADDRESS (diff)
downloadkernel-qcow2-linux-dcea83adc666061864b82c96e059dffe7268b512.tar.gz
kernel-qcow2-linux-dcea83adc666061864b82c96e059dffe7268b512.tar.xz
kernel-qcow2-linux-dcea83adc666061864b82c96e059dffe7268b512.zip
[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 'drivers/mfd/ucb1x00-assabet.c')
-rw-r--r--drivers/mfd/ucb1x00-assabet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ucb1x00-assabet.c b/drivers/mfd/ucb1x00-assabet.c
index 61aeaf79640d..86fed4870f93 100644
--- a/drivers/mfd/ucb1x00-assabet.c
+++ b/drivers/mfd/ucb1x00-assabet.c
@@ -15,7 +15,7 @@
#include <linux/proc_fs.h>
#include <linux/device.h>
-#include <asm/dma.h>
+#include <mach/dma.h>
#include "ucb1x00.h"