diff options
Diffstat (limited to 'include/linux/pm.h')
| -rw-r--r-- | include/linux/pm.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 44d1f2307db..007e687c4f6 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -640,6 +640,7 @@ extern void __suspend_report_result(const char *function, void *fn, int ret);  	} while (0)  extern int device_pm_wait_for_dev(struct device *sub, struct device *dev); +extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *));  extern int pm_generic_prepare(struct device *dev);  extern int pm_generic_suspend_late(struct device *dev); @@ -679,6 +680,10 @@ static inline int device_pm_wait_for_dev(struct device *a, struct device *b)  	return 0;  } +static inline void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)) +{ +} +  #define pm_generic_prepare	NULL  #define pm_generic_suspend	NULL  #define pm_generic_resume	NULL  |