FROMLIST: iommu: dma-iommu: use common implementation also on ARM architecture
[firefly-linux-kernel-4.4.55.git] / arch / arm / include / asm / device.h
1 /*
2  * Arch specific extensions to struct device
3  *
4  * This file is released under the GPLv2
5  */
6 #ifndef ASMARM_DEVICE_H
7 #define ASMARM_DEVICE_H
8
9 struct dev_archdata {
10         struct dma_map_ops      *dma_ops;
11 #ifdef CONFIG_DMABOUNCE
12         struct dmabounce_device_info *dmabounce;
13 #endif
14 #ifdef CONFIG_IOMMU_API
15         void *iommu; /* private IOMMU data */
16 #endif
17         bool dma_coherent;
18 };
19
20 struct omap_device;
21
22 struct pdev_archdata {
23 #ifdef CONFIG_ARCH_OMAP
24         struct omap_device *od;
25 #endif
26 };
27
28 #endif