Benjamin Herrenschmidt | c6dbaef | 2006-11-11 17:18:39 +1100 | [diff] [blame] | 1 | /* |
| 2 | * Arch specific extensions to struct device |
| 3 | * |
| 4 | * This file is released under the GPLv2 |
| 5 | */ |
Russell King | ab2c215 | 2007-02-12 10:28:24 +0000 | [diff] [blame] | 6 | #ifndef ASMARM_DEVICE_H |
| 7 | #define ASMARM_DEVICE_H |
Benjamin Herrenschmidt | c6dbaef | 2006-11-11 17:18:39 +1100 | [diff] [blame] | 8 | |
Russell King | ab2c215 | 2007-02-12 10:28:24 +0000 | [diff] [blame] | 9 | struct dev_archdata { |
| 10 | #ifdef CONFIG_DMABOUNCE |
| 11 | struct dmabounce_device_info *dmabounce; |
| 12 | #endif |
Ohad Ben-Cohen | cfb470b | 2011-10-13 12:53:18 +0100 | [diff] [blame^] | 13 | #ifdef CONFIG_IOMMU_API |
| 14 | void *iommu; /* private IOMMU data */ |
| 15 | #endif |
Russell King | ab2c215 | 2007-02-12 10:28:24 +0000 | [diff] [blame] | 16 | }; |
| 17 | |
Magnus Damm | d7aacad | 2009-07-08 13:21:31 +0200 | [diff] [blame] | 18 | struct pdev_archdata { |
| 19 | }; |
| 20 | |
Russell King | ab2c215 | 2007-02-12 10:28:24 +0000 | [diff] [blame] | 21 | #endif |