From: Rafael J. Wysocki Date: Fri, 15 May 2015 23:38:15 +0000 (+0200) Subject: PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPEND X-Git-Tag: omap-for-v4.2/fixes-rc1^2~154^2~6^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87e9b9f1d86c2ee9a10c2a4186a72d0af4cc963e;p=pandora-kernel.git PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPEND Since idle_should_freeze() is defined to always return 'false' for CONFIG_SUSPEND unset, all of the code depending on it in cpuidle_idle_call() is not necessary in that case. Make that code depend on CONFIG_SUSPEND too to avoid building it when it is not going to be used. Signed-off-by: Rafael J. Wysocki Acked-by: Thomas Gleixner --- Reading git-diff-tree failed