Merge remote-tracking branch 'regulator/topic/tps65910' into regulator-next
[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
ab2c2152
RK
20};
21
fbe01f51
KH
22struct omap_device;
23
d7aacadd 24struct pdev_archdata {
fbe01f51
KH
25#ifdef CONFIG_ARCH_OMAP
26 struct omap_device *od;
27#endif
d7aacadd
MD
28};
29
fab112a3
HD
30#ifdef CONFIG_ARM_DMA_USE_IOMMU
31#define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping)
32#else
33#define to_dma_iommu_mapping(dev) NULL
34#endif
35
ab2c2152 36#endif
This page took 0.627282 seconds and 5 git commands to generate.