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 f067e60a3832..88f034a23f2c 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h  | |||
| @@ -638,6 +638,7 @@ extern void __suspend_report_result(const char *function, void *fn, int ret); | |||
| 638 | } while (0) | 638 | } while (0) | 
| 639 | 639 | ||
| 640 | extern int device_pm_wait_for_dev(struct device *sub, struct device *dev); | 640 | extern int device_pm_wait_for_dev(struct device *sub, struct device *dev); | 
| 641 | extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)); | ||
| 641 | 642 | ||
| 642 | extern int pm_generic_prepare(struct device *dev); | 643 | extern int pm_generic_prepare(struct device *dev); | 
| 643 | extern int pm_generic_suspend_late(struct device *dev); | 644 | extern int pm_generic_suspend_late(struct device *dev); | 
| @@ -677,6 +678,10 @@ static inline int device_pm_wait_for_dev(struct device *a, struct device *b) | |||
| 677 | return 0; | 678 | return 0; | 
| 678 | } | 679 | } | 
| 679 | 680 | ||
| 681 | static inline void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)) | ||
| 682 | { | ||
| 683 | } | ||
| 684 | |||
| 680 | #define pm_generic_prepare NULL | 685 | #define pm_generic_prepare NULL | 
| 681 | #define pm_generic_suspend NULL | 686 | #define pm_generic_suspend NULL | 
| 682 | #define pm_generic_resume NULL | 687 | #define pm_generic_resume NULL | 
