2006-11-11 09:18:39 +03:00
|
|
|
/*
|
|
|
|
* Arch specific extensions to struct device
|
|
|
|
*
|
|
|
|
* This file is released under the GPLv2
|
|
|
|
*/
|
2007-02-12 13:28:24 +03:00
|
|
|
#ifndef ASMARM_DEVICE_H
|
|
|
|
#define ASMARM_DEVICE_H
|
2006-11-11 09:18:39 +03:00
|
|
|
|
2007-02-12 13:28:24 +03:00
|
|
|
struct dev_archdata {
|
|
|
|
#ifdef CONFIG_DMABOUNCE
|
|
|
|
struct dmabounce_device_info *dmabounce;
|
|
|
|
#endif
|
2011-10-13 15:53:18 +04:00
|
|
|
#ifdef CONFIG_IOMMU_API
|
|
|
|
void *iommu; /* private IOMMU data */
|
|
|
|
#endif
|
2007-02-12 13:28:24 +03:00
|
|
|
};
|
|
|
|
|
2011-09-07 00:04:10 +04:00
|
|
|
struct omap_device;
|
|
|
|
|
2009-07-08 15:21:31 +04:00
|
|
|
struct pdev_archdata {
|
2011-09-07 00:04:10 +04:00
|
|
|
#ifdef CONFIG_ARCH_OMAP
|
|
|
|
struct omap_device *od;
|
|
|
|
#endif
|
2009-07-08 15:21:31 +04:00
|
|
|
};
|
|
|
|
|
2007-02-12 13:28:24 +03:00
|
|
|
#endif
|