2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
10 struct platform_device;
11 /* allocate contiguous memory chunk and fill in struct resource */
12 int platform_resource_setup_memory(struct platform_device *pdev,
13 char *name, unsigned long memsize);
15 void plat_early_device_setup(void);
17 #define PDEV_ARCHDATA_FLAG_INIT 0
18 #define PDEV_ARCHDATA_FLAG_IDLE 1
19 #define PDEV_ARCHDATA_FLAG_SUSP 2
21 struct pdev_archdata {
23 #ifdef CONFIG_PM_RUNTIME
25 struct list_head entry;