summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLeonardo Potenza <leonardo.potenza@intel.com>2013-11-19 12:27:41 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-30 15:12:16 +0100
commite0c7855e364dda1ddd65b0b092cfc07ce9d66373 (patch)
tree6b322b955ccd0dfe7802ec9fbd349b8a774b4cbb /kernel
parentdc1ccc48159d63eca5089e507c82c7d22ef60839 (diff)
downloadlinux-stable-e0c7855e364dda1ddd65b0b092cfc07ce9d66373.tar.gz
linux-stable-e0c7855e364dda1ddd65b0b092cfc07ce9d66373.tar.bz2
linux-stable-e0c7855e364dda1ddd65b0b092cfc07ce9d66373.zip
PM / hibernate: export hibernation_set_ops
To support the ability to implement PM hibernation code as modules the hibernation_set_ops function requires to be exported. Similar solution already available for suspend_set_ops (please refer to commit a5e4fd8783a2bec861ecf1138cdc042269ff59aa). Signed-off-by: Leonardo Potenza <leonardo.potenza@intel.com> Signed-off-by: Edwin Verplanke <edwin.verplanke@intel.com> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/hibernate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index 0121dab83f43..bc13d087ea14 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -82,6 +82,7 @@ void hibernation_set_ops(const struct platform_hibernation_ops *ops)
unlock_system_sleep();
}
+EXPORT_SYMBOL_GPL(hibernation_set_ops);
static bool entering_platform_hibernation;