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 | ||||
13 | }; | ||||
14 | |||||
Kevin Hilman | fbe01f5 | 2011-09-06 21:04:10 +0100 | [diff] [blame^] | 15 | struct omap_device; |
16 | |||||
Magnus Damm | d7aacad | 2009-07-08 13:21:31 +0200 | [diff] [blame] | 17 | struct pdev_archdata { |
Kevin Hilman | fbe01f5 | 2011-09-06 21:04:10 +0100 | [diff] [blame^] | 18 | #ifdef CONFIG_ARCH_OMAP |
19 | struct omap_device *od; | ||||
20 | #endif | ||||
Magnus Damm | d7aacad | 2009-07-08 13:21:31 +0200 | [diff] [blame] | 21 | }; |
22 | |||||
Russell King | ab2c215 | 2007-02-12 10:28:24 +0000 | [diff] [blame] | 23 | #endif |