David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | * |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 3 | * Arch specific extensions to struct device |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | */ |
| 5 | #ifndef __ASM_SH_DEVICE_H |
| 6 | #define __ASM_SH_DEVICE_H |
| 7 | |
| 8 | #include <asm-generic/device.h> |
| 9 | |
| 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 | |
| 15 | void plat_early_device_setup(void); |
| 16 | |
| 17 | #endif /* __ASM_SH_DEVICE_H */ |