Skip to content

Commit

Permalink
PM / hibernate: export hibernation_set_ops
Browse files Browse the repository at this point in the history
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 a5e4fd8).

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>
  • Loading branch information
Leonardo Potenza authored and Rafael J. Wysocki committed Nov 30, 2013
1 parent dc1ccc4 commit e0c7855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/power/hibernate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e0c7855

Please sign in to comment.