diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-24 15:04:41 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-12-24 15:04:41 +0100 |
commit | 62bcb91573425975d6ad2389d7ab1d8feca88ab4 (patch) | |
tree | c1e2fb54821b77f1a7f32e218ac5cbf91dd4a3e8 /include/linux/pm.h | |
parent | 4b31db8a16fa0d4d6a0fa42d044e7a4f4dad3641 (diff) | |
download | talos-obmc-linux-62bcb91573425975d6ad2389d7ab1d8feca88ab4.tar.gz talos-obmc-linux-62bcb91573425975d6ad2389d7ab1d8feca88ab4.zip |
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.h | 7 |
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; #define PM_APM 1 #define PM_ACPI 2 +extern int pm_generic_suspend(struct device *dev); +extern int pm_generic_resume(struct device *dev); +extern int pm_generic_freeze(struct device *dev); +extern int pm_generic_thaw(struct device *dev); +extern int pm_generic_restore(struct device *dev); +extern int pm_generic_poweroff(struct device *dev); + #endif /* _LINUX_PM_H */ |