Make suspend abort reason logging depend on CONFIG_PM_SLEEP
authorLorenzo Colitti <lorenzo@google.com>
Thu, 27 Nov 2014 06:12:10 +0000 (15:12 +0900)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:39 +0000 (13:53 -0800)
commit49f054b7c5fc79fc33560f623f7a2f2bbd92cf08
treeecf87b1e9dd3f68f635892875beb277274f12cdf
parentdd0c7788b67fed52d2d2b9893f7290e3c63757b8
Make suspend abort reason logging depend on CONFIG_PM_SLEEP

This unbreaks the build on architectures such as um that do not
support CONFIG_PM_SLEEP.

Change-Id: Ia846ed0a7fca1d762ececad20748d23610e8544f
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
kernel/power/process.c