blob: 7aa368003b05220cc1f0ba9301a15e5699db2278 [file] [log] [blame]
Benjamin Herrenschmidtc6dbaef2006-11-11 17:18:39 +11001/*
2 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */
Russell Kingab2c2152007-02-12 10:28:24 +00006#ifndef ASMARM_DEVICE_H
7#define ASMARM_DEVICE_H
Benjamin Herrenschmidtc6dbaef2006-11-11 17:18:39 +11008
Russell Kingab2c2152007-02-12 10:28:24 +00009struct dev_archdata {
10#ifdef CONFIG_DMABOUNCE
11 struct dmabounce_device_info *dmabounce;
12#endif
Ohad Ben-Cohencfb470b2011-10-13 12:53:18 +010013#ifdef CONFIG_IOMMU_API
14 void *iommu; /* private IOMMU data */
15#endif
Russell Kingab2c2152007-02-12 10:28:24 +000016};
17
Kevin Hilmanfbe01f52011-09-06 21:04:10 +010018struct omap_device;
19
Magnus Dammd7aacad2009-07-08 13:21:31 +020020struct pdev_archdata {
Kevin Hilmanfbe01f52011-09-06 21:04:10 +010021#ifdef CONFIG_ARCH_OMAP
22 struct omap_device *od;
23#endif
Magnus Dammd7aacad2009-07-08 13:21:31 +020024};
25
Russell Kingab2c2152007-02-12 10:28:24 +000026#endif