2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
6 #ifndef __ASM_SH_DEVICE_H
7 #define __ASM_SH_DEVICE_H
9 #include <asm-generic/device.h>
11 struct platform_device
;
12 /* allocate contiguous memory chunk and fill in struct resource */
13 int platform_resource_setup_memory(struct platform_device
*pdev
,
14 char *name
, unsigned long memsize
);
16 void plat_early_device_setup(void);
18 #endif /* __ASM_SH_DEVICE_H */