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 | */ |
Paul Mundt | bfe75c7 | 2012-01-13 16:27:38 +0900 | [diff] [blame] | 6 | #ifndef __ASM_SH_DEVICE_H |
| 7 | #define __ASM_SH_DEVICE_H |
Magnus Damm | 9aaa749 | 2009-07-31 07:47:17 +0000 | [diff] [blame] | 8 | |
Paul Mundt | bfe75c7 | 2012-01-13 16:27:38 +0900 | [diff] [blame] | 9 | #include <asm-generic/device.h> |
Benjamin Herrenschmidt | c6dbaef | 2006-11-11 17:18:39 +1100 | [diff] [blame] | 10 | |
Magnus Damm | 1eca5c9 | 2008-07-16 19:02:54 +0900 | [diff] [blame] | 11 | struct platform_device; |
| 12 | /* allocate contiguous memory chunk and fill in struct resource */ |
| 13 | int platform_resource_setup_memory(struct platform_device *pdev, |
| 14 | char *name, unsigned long memsize); |
| 15 | |
Magnus Damm | 87a00dc | 2009-04-15 10:50:21 +0000 | [diff] [blame] | 16 | void plat_early_device_setup(void); |
| 17 | |
Paul Mundt | bfe75c7 | 2012-01-13 16:27:38 +0900 | [diff] [blame] | 18 | #endif /* __ASM_SH_DEVICE_H */ |