aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2015-01-06 07:06:16 -0500
committerShawn Guo <shawn.guo@linaro.org>2015-01-06 07:14:50 -0500
commitc8aeb7dfe6e815906c3d9c23ce17a00e8d01b3d5 (patch)
tree6b4ce99063c908c7af519cdefa39d6b4f04b249f /arch/arm/mach-imx
parent05136f0897b526b9cd090c93b95bbd1b67c18cc5 (diff)
ARM: imx: drop CPUIDLE_FLAG_TIME_VALID from cpuidle-imx6sx
As the result of commit b82b6cca4880 ("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>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/cpuidle-imx6sx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/cpuidle-imx6sx.c b/arch/arm/mach-imx/cpuidle-imx6sx.c
index d8a9f219e028..5a36722b089d 100644
--- a/arch/arm/mach-imx/cpuidle-imx6sx.c
+++ b/arch/arm/mach-imx/cpuidle-imx6sx.c
@@ -66,8 +66,7 @@ static struct cpuidle_driver imx6sx_cpuidle_driver = {
66 { 66 {
67 .exit_latency = 50, 67 .exit_latency = 50,
68 .target_residency = 75, 68 .target_residency = 75,
69 .flags = CPUIDLE_FLAG_TIME_VALID | 69 .flags = CPUIDLE_FLAG_TIMER_STOP,
70 CPUIDLE_FLAG_TIMER_STOP,
71 .enter = imx6sx_enter_wait, 70 .enter = imx6sx_enter_wait,
72 .name = "WAIT", 71 .name = "WAIT",
73 .desc = "Clock off", 72 .desc = "Clock off",
@@ -81,7 +80,6 @@ static struct cpuidle_driver imx6sx_cpuidle_driver = {
81 */ 80 */
82 .exit_latency = 300, 81 .exit_latency = 300,
83 .target_residency = 500, 82 .target_residency = 500,
84 .flags = CPUIDLE_FLAG_TIME_VALID,
85 .enter = imx6sx_enter_wait, 83 .enter = imx6sx_enter_wait,
86 .name = "LOW-POWER-IDLE", 84 .name = "LOW-POWER-IDLE",
87 .desc = "ARM power off", 85 .desc = "ARM power off",