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)
committerJP Abgrall <jpa@google.com>
Tue, 2 Dec 2014 21:58:47 +0000 (21:58 +0000)
commit4fd02636be28ce91ae9b9da37014e74285f4cd2e
tree94787b38750f103399ee2c1a0db1855d8dd5bba5
parent78a68094b2498c7b3644b3acbb523b1ff6f0c488
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