]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfda2ef74d90857fb0e99da87634b2d415a38ef62
tree3e80212665788cf1e73a7a564e8cd6c55d60c69a
parenta6d73da24b2d02457efaab5249234c1853cf3ad5
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