]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx6: do not call imx6q_suspend_init() with !CONFIG_SUSPEND
authorShawn Guo <shawn.guo@linaro.org>
Wed, 26 Feb 2014 13:40:32 +0000 (21:40 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:13 +0000 (21:16 -0600)
commit6ac93d9480ac5e6f93eb348fb81ead4b19c6eaf0
tree19f6774aec44c4f1af5f954cf2ebf0516deb2cdc
parent102e26df361ad53ae15bfe7653cef9dfd65f36da
ARM: imx6: do not call imx6q_suspend_init() with !CONFIG_SUSPEND

When CONFIG_SUSPEND is not enabled, we should reasonably skip the call
to imx6q_suspend_init().

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
[shawn.guo: cherry-pick commit 110666dc655a from upstream]
arch/arm/mach-imx/pm-imx6q.c