From patchwork Tue Jan 6 12:16:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 5573431 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E24BB9F74C for ; Tue, 6 Jan 2015 12:20:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5823820211 for ; Tue, 6 Jan 2015 12:20:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 370512020F for ; Tue, 6 Jan 2015 12:20:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8T4t-0006E0-S6; Tue, 06 Jan 2015 12:17:39 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8T4r-000693-1h for linux-arm-kernel@lists.infradead.org; Tue, 06 Jan 2015 12:17:37 +0000 Received: by mail-pa0-f50.google.com with SMTP id bj1so30894256pad.37 for ; Tue, 06 Jan 2015 04:17:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=JiIl6D+UkGln+Y6dVvza/2CZqgMBEiJhtDST0nM7C38=; b=XwbEsxjzKoNHUyDTe++NKb9dXe8QIIlnA77vVunthDbugLJeuPNSuVQUmfQ+Of3iwe 7t8LAMea6nNpWp08TgDhtfL3e8neOxgWh5DSzhnYdJQLUuuxCusuDofWZabNW+/RIsiK iSeqRtU6TVSkOOpFFVzRKS1xfSNt8NCrZ5IeGjAp6x1jFUOR3+YPDLbFCzCGa5joEFKT X7yUwanosYvAFk98VZH6Y2N579+jirVRv2RvKIvQzxlrH22CqFUcVjVpFT0ozitnQMGG yCP6plbrStt3+M/CR/wZt2xZBFHEADjn8AXkd4Zvgwv3xx4TJ3tvIK4rirz/N6hxfokL 5tbQ== X-Gm-Message-State: ALoCoQlpsej0QlMPJKFQGI9uyl6jp5BzxyeUIvZ3xj52LXi2MIWdnop86ldt+BPNRJOf4rabvsPD X-Received: by 10.70.102.170 with SMTP id fp10mr154820301pdb.73.1420546633971; Tue, 06 Jan 2015 04:17:13 -0800 (PST) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id y4sm38034011pdk.75.2015.01.06.04.17.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Jan 2015 04:17:13 -0800 (PST) From: Shawn Guo To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: imx: drop CPUIDLE_FLAG_TIME_VALID from cpuidle-imx6sx Date: Tue, 6 Jan 2015 20:16:44 +0800 Message-Id: <1420546604-14709-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150106_041737_115996_DD5FC3BA X-CRM114-Status: GOOD ( 10.26 ) X-Spam-Score: -0.7 (/) Cc: Anson Huang , kbuild test robot , Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Shawn Guo --- arch/arm/mach-imx/cpuidle-imx6sx.c | 4 +--- 1 file changed, 1 insertion(+), 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 = { { .exit_latency = 50, .target_residency = 75, - .flags = CPUIDLE_FLAG_TIME_VALID | - CPUIDLE_FLAG_TIMER_STOP, + .flags = CPUIDLE_FLAG_TIMER_STOP, .enter = imx6sx_enter_wait, .name = "WAIT", .desc = "Clock off", @@ -81,7 +80,6 @@ static struct cpuidle_driver imx6sx_cpuidle_driver = { */ .exit_latency = 300, .target_residency = 500, - .flags = CPUIDLE_FLAG_TIME_VALID, .enter = imx6sx_enter_wait, .name = "LOW-POWER-IDLE", .desc = "ARM power off",