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 | */ |
David S. Miller | a2fb23a | 2007-02-28 23:35:04 -0800 | [diff] [blame] | 6 | #ifndef _ASM_SPARC64_DEVICE_H |
| 7 | #define _ASM_SPARC64_DEVICE_H |
Benjamin Herrenschmidt | c6dbaef | 2006-11-11 17:18:39 +1100 | [diff] [blame] | 8 | |
David S. Miller | a2fb23a | 2007-02-28 23:35:04 -0800 | [diff] [blame] | 9 | struct device_node; |
| 10 | struct of_device; |
| 11 | |
| 12 | struct dev_archdata { |
| 13 | void *iommu; |
| 14 | void *stc; |
| 15 | void *host_controller; |
| 16 | |
| 17 | struct device_node *prom_node; |
| 18 | struct of_device *op; |
David S. Miller | a2fb23a | 2007-02-28 23:35:04 -0800 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | #endif /* _ASM_SPARC64_DEVICE_H */ |