device.h (da733563be5a9da26fe81d9f007262d00b846e22) device.h (2dc6a016bbedf18f18ad73997e5338307d6dbde9)
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
9struct dev_archdata {
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
9struct dev_archdata {
10 struct dma_map_ops *dma_ops;
10#ifdef CONFIG_DMABOUNCE
11 struct dmabounce_device_info *dmabounce;
12#endif
13#ifdef CONFIG_IOMMU_API
14 void *iommu; /* private IOMMU data */
15#endif
16};
17
18struct omap_device;
19
20struct pdev_archdata {
21#ifdef CONFIG_ARCH_OMAP
22 struct omap_device *od;
23#endif
24};
25
26#endif
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};
18
19struct omap_device;
20
21struct pdev_archdata {
22#ifdef CONFIG_ARCH_OMAP
23 struct omap_device *od;
24#endif
25};
26
27#endif