^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Arch specific extensions to struct device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #ifndef __ASM_SH_DEVICE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #define __ASM_SH_DEVICE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <asm-generic/device.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct platform_device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /* allocate contiguous memory chunk and fill in struct resource */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int platform_resource_setup_memory(struct platform_device *pdev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) char *name, unsigned long memsize);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void plat_early_device_setup(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #endif /* __ASM_SH_DEVICE_H */