2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
6 #include <asm-generic/device.h>
8 struct platform_device
;
9 /* allocate contiguous memory chunk and fill in struct resource */
10 int platform_resource_setup_memory(struct platform_device
*pdev
,
11 char *name
, unsigned long memsize
);