xref: /linux/arch/sh/include/asm/device.h (revision bfe75c7e)
1f15cbe6fSPaul Mundt /*
2f15cbe6fSPaul Mundt  * Arch specific extensions to struct device
3f15cbe6fSPaul Mundt  *
4f15cbe6fSPaul Mundt  * This file is released under the GPLv2
5f15cbe6fSPaul Mundt  */
6*bfe75c7eSPaul Mundt #ifndef __ASM_SH_DEVICE_H
7*bfe75c7eSPaul Mundt #define __ASM_SH_DEVICE_H
89aaa7490SMagnus Damm 
9*bfe75c7eSPaul Mundt #include <asm-generic/device.h>
10f15cbe6fSPaul Mundt 
11f15cbe6fSPaul Mundt struct platform_device;
12f15cbe6fSPaul Mundt /* allocate contiguous memory chunk and fill in struct resource */
13f15cbe6fSPaul Mundt int platform_resource_setup_memory(struct platform_device *pdev,
14f15cbe6fSPaul Mundt 				   char *name, unsigned long memsize);
15f15cbe6fSPaul Mundt 
1687a00dc0SMagnus Damm void plat_early_device_setup(void);
1787a00dc0SMagnus Damm 
18*bfe75c7eSPaul Mundt #endif /* __ASM_SH_DEVICE_H */
19