Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Arch specific extensions to struct device |
| 3 | * |
| 4 | * This file is released under the GPLv2 |
| 5 | */ |
| 6 | #ifndef __ASM_SH_DEVICE_H |
| 7 | #define __ASM_SH_DEVICE_H |
| 8 | |
| 9 | #include <asm-generic/device.h> |
| 10 | |
| 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 | |
| 16 | void plat_early_device_setup(void); |
| 17 | |
| 18 | #endif /* __ASM_SH_DEVICE_H */ |