PM / sleep: Set pm_generic functions to NULL for !CONFIG_PM_SLEEP
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 19 Feb 2014 12:09:21 +0000 (13:09 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Mar 2014 00:02:53 +0000 (01:02 +0100)
commit0a9efc4d91df7b18fb3e97c24ee85a1529618899
tree3e80212665788cf1e73a7a564e8cd6c55d60c69a
parent3e54d1518f8f31effd487b7609c6779f62b0c04f
PM / sleep: Set pm_generic functions to NULL for !CONFIG_PM_SLEEP

Previously only a subset of the functions were defined and set to NULL
while !CONFIG_PM_SLEEP. Let's make them all available so they can be
used no matter of CONFIG_PM_SLEEP or not.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/pm.h