temp: SR: IO_ADDRESS conversion
[linux-ginger.git] / arch / sh / include / asm / device.h
blobb16debfe8c1eefe4e529db82850b6b66e4986297
1 /*
2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
5 */
7 struct dev_archdata {
8 };
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 {
22 int hwblk_id;
23 #ifdef CONFIG_PM_RUNTIME
24 unsigned long flags;
25 struct list_head entry;
26 struct mutex mutex;
27 #endif