ARM: imx: drop CPUIDLE_FLAG_TIME_VALID from cpuidle-imx6sx

As the result of commit b82b6cca48 ("cpuidle: Invert
CPUIDLE_FLAG_TIME_VALID logic"), the flag gets removed and hence we see
the compile error below.

  CC      arch/arm/mach-imx/cpuidle-imx6sx.o
arch/arm/mach-imx/cpuidle-imx6sx.c:69:13: error: ‘CPUIDLE_FLAG_TIME_VALID’ undeclared here (not in a function)

Since the behavior of the original flag has been the default, we can
simply drop the flag now.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
Shawn Guo 2015-01-06 20:06:16 +08:00
parent 05136f0897
commit c8aeb7dfe6

View File

@ -66,8 +66,7 @@ static struct cpuidle_driver imx6sx_cpuidle_driver = {
{ {
.exit_latency = 50, .exit_latency = 50,
.target_residency = 75, .target_residency = 75,
.flags = CPUIDLE_FLAG_TIME_VALID | .flags = CPUIDLE_FLAG_TIMER_STOP,
CPUIDLE_FLAG_TIMER_STOP,
.enter = imx6sx_enter_wait, .enter = imx6sx_enter_wait,
.name = "WAIT", .name = "WAIT",
.desc = "Clock off", .desc = "Clock off",
@ -81,7 +80,6 @@ static struct cpuidle_driver imx6sx_cpuidle_driver = {
*/ */
.exit_latency = 300, .exit_latency = 300,
.target_residency = 500, .target_residency = 500,
.flags = CPUIDLE_FLAG_TIME_VALID,
.enter = imx6sx_enter_wait, .enter = imx6sx_enter_wait,
.name = "LOW-POWER-IDLE", .name = "LOW-POWER-IDLE",
.desc = "ARM power off", .desc = "ARM power off",