aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-24 09:04:41 -0500
committerRafael J. Wysocki <rjw@sisk.pl>2010-12-24 09:04:41 -0500
commit62bcb91573425975d6ad2389d7ab1d8feca88ab4 (patch)
treec1e2fb54821b77f1a7f32e218ac5cbf91dd4a3e8 /include/linux/pm.h
parent4b31db8a16fa0d4d6a0fa42d044e7a4f4dad3641 (diff)
PM: Prototype the pm_generic_ operations
The pm_generic_ operations are all exported but are not prototyped in any header file for direct use. Do so. [rjw: Added extern.] Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index c1756dfeb8c5..dd9c7ab38270 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -572,4 +572,11 @@ extern unsigned int pm_flags;
572#define PM_APM 1 572#define PM_APM 1
573#define PM_ACPI 2 573#define PM_ACPI 2
574 574
575extern int pm_generic_suspend(struct device *dev);
576extern int pm_generic_resume(struct device *dev);
577extern int pm_generic_freeze(struct device *dev);
578extern int pm_generic_thaw(struct device *dev);
579extern int pm_generic_restore(struct device *dev);
580extern int pm_generic_poweroff(struct device *dev);
581
575#endif /* _LINUX_PM_H */ 582#endif /* _LINUX_PM_H */