From: Leonardo Potenza Date: Tue, 19 Nov 2013 12:27:41 +0000 (+0000) Subject: PM / hibernate: export hibernation_set_ops X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e0c7855e364dda1ddd65b0b092cfc07ce9d66373;p=linux-beck.git 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 Signed-off-by: Edwin Verplanke Reviewed-by: Rafael J. Wysocki Signed-off-by: Rafael J. Wysocki --- 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;