xref: /linux/arch/sh/include/asm/device.h (revision 6a0abce4)
1*6a0abce4SKuninori Morimoto /* SPDX-License-Identifier: GPL-2.0
2f15cbe6fSPaul Mundt  *
3*6a0abce4SKuninori Morimoto  * Arch specific extensions to struct device
4f15cbe6fSPaul Mundt  */
5bfe75c7eSPaul Mundt #ifndef __ASM_SH_DEVICE_H
6bfe75c7eSPaul Mundt #define __ASM_SH_DEVICE_H
79aaa7490SMagnus Damm 
8bfe75c7eSPaul Mundt #include <asm-generic/device.h>
9f15cbe6fSPaul Mundt 
10f15cbe6fSPaul Mundt struct platform_device;
11f15cbe6fSPaul Mundt /* allocate contiguous memory chunk and fill in struct resource */
12f15cbe6fSPaul Mundt int platform_resource_setup_memory(struct platform_device *pdev,
13f15cbe6fSPaul Mundt 				   char *name, unsigned long memsize);
14f15cbe6fSPaul Mundt 
1587a00dc0SMagnus Damm void plat_early_device_setup(void);
1687a00dc0SMagnus Damm 
17bfe75c7eSPaul Mundt #endif /* __ASM_SH_DEVICE_H */
18