Commit e0c7855e authored by Leonardo Potenza's avatar Leonardo Potenza Committed by Rafael J. Wysocki

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 a5e4fd87).
Signed-off-by: default avatarLeonardo Potenza <leonardo.potenza@intel.com>
Signed-off-by: default avatarEdwin Verplanke <edwin.verplanke@intel.com>
Reviewed-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent dc1ccc48
...@@ -82,6 +82,7 @@ void hibernation_set_ops(const struct platform_hibernation_ops *ops) ...@@ -82,6 +82,7 @@ void hibernation_set_ops(const struct platform_hibernation_ops *ops)
unlock_system_sleep(); unlock_system_sleep();
} }
EXPORT_SYMBOL_GPL(hibernation_set_ops);
static bool entering_platform_hibernation; static bool entering_platform_hibernation;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment