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 | */ |
Magnus Damm | 9aaa749 | 2009-07-31 07:47:17 +0000 | [diff] [blame] | 6 | |
| 7 | struct dev_archdata { |
| 8 | }; |
Benjamin Herrenschmidt | c6dbaef | 2006-11-11 17:18:39 +1100 | [diff] [blame] | 9 | |
Magnus Damm | 1eca5c9 | 2008-07-16 19:02:54 +0900 | [diff] [blame] | 10 | struct platform_device; |
| 11 | /* allocate contiguous memory chunk and fill in struct resource */ |
| 12 | int platform_resource_setup_memory(struct platform_device *pdev, |
| 13 | char *name, unsigned long memsize); |
| 14 | |
Magnus Damm | 87a00dc | 2009-04-15 10:50:21 +0000 | [diff] [blame] | 15 | void plat_early_device_setup(void); |
| 16 | |
Magnus Damm | 9aaa749 | 2009-07-31 07:47:17 +0000 | [diff] [blame] | 17 | struct pdev_archdata { |
| 18 | int hwblk_id; |
| 19 | }; |