Merge branch 'exynos-drm-fixes' of git://git.kernel.org:/pub/scm/linux/kernel/git...
[deliverable/linux.git] / arch / arm / include / asm / device.h
CommitLineData
c6dbaef2
BH
1/*
2 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */
ab2c2152
RK
6#ifndef ASMARM_DEVICE_H
7#define ASMARM_DEVICE_H
c6dbaef2 8
ab2c2152 9struct dev_archdata {
2dc6a016 10 struct dma_map_ops *dma_ops;
ab2c2152
RK
11#ifdef CONFIG_DMABOUNCE
12 struct dmabounce_device_info *dmabounce;
13#endif
cfb470b3
OBC
14#ifdef CONFIG_IOMMU_API
15 void *iommu; /* private IOMMU data */
16#endif
4ce63fcd
MS
17#ifdef CONFIG_ARM_DMA_USE_IOMMU
18 struct dma_iommu_mapping *mapping;
19#endif
3d5391ac 20 bool dma_coherent;
ab2c2152
RK
21};
22
fbe01f51
KH
23struct omap_device;
24
d7aacadd 25struct pdev_archdata {
fbe01f51
KH
26#ifdef CONFIG_ARCH_OMAP
27 struct omap_device *od;
28#endif
d7aacadd
MD
29};
30
fab112a3
HD
31#ifdef CONFIG_ARM_DMA_USE_IOMMU
32#define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping)
33#else
34#define to_dma_iommu_mapping(dev) NULL
35#endif
36
ab2c2152 37#endif
This page took 0.585799 seconds and 5 git commands to generate.