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