aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/device.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2012-02-10 19:55:20 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2012-05-21 15:06:14 +0200
commit2dc6a016bbedf18f18ad73997e5338307d6dbde9 (patch)
tree741bf3c884304108b2e1d0a471aa6042c0d142e7 /arch/arm/include/asm/device.h
parentARM: dma-mapping: remove offset parameter to prepare for generic dma_ops (diff)
downloadlinux-dev-2dc6a016bbedf18f18ad73997e5338307d6dbde9.tar.xz
linux-dev-2dc6a016bbedf18f18ad73997e5338307d6dbde9.zip
ARM: dma-mapping: use asm-generic/dma-mapping-common.h
This patch modifies dma-mapping implementation on ARM architecture to use common dma_map_ops structure and asm-generic/dma-mapping-common.h helpers. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Tested-By: Subash Patel <subash.ramaswamy@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/device.h')
-rw-r--r--arch/arm/include/asm/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index 7aa368003b05..6e2cb0ee770d 100644
--- a/arch/arm/include/asm/device.h
+++ b/arch/arm/include/asm/device.h
@@ -7,6 +7,7 @@
#define ASMARM_DEVICE_H
struct dev_archdata {
+ struct dma_map_ops *dma_ops;
#ifdef CONFIG_DMABOUNCE
struct dmabounce_device_info *dmabounce;
#endif