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: 42767 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DFC132062F for ; Tue, 6 Jan 2015 12:19:39 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id z12sf7202777lbi.6 for ; Tue, 06 Jan 2015 04:19:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :mime-version:cc:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=r9BZI8+J4plhK7oPcROb5oZKh9mYlog36ZqFQ0yGznk=; b=RJ6nlgJUQStNBXnKP5vg3WuBo67PyO42fGvaBLMpk9t2fzKaF7oANl1ETwqhyw3+Wt I8fucMK3/zEeMRjLVgeB3/11eJvcxe2D1QKg0jc1pl/VoO7FSb1O45N46hPJMtU7tni3 Lr3P9uFyTSJmCdLo0INyAo15VttYLHs3pTC0bdPNqy7BnEpll+Q+WXwhSFRIMdbaDrcV KDDB3kMOTaZP+UiYyp9c+MZESFtBk9EFIjbWNSKxtW+otDYpTfY1GVnsn4UchZqOH4hO zAd707znK3fptBoSQ/TfdXzIz5acnnffvODZRaii37/jvnWX0RYkQUqbXMjfWMQSR3Rb SOuw== X-Gm-Message-State: ALoCoQlqdi85Qku2fH2Bv6zM1cqQ9ieRPHdSg+D3jlhGXfIe8BUXD5gEDCvvgXX4WG4bWlman7DC X-Received: by 10.194.71.48 with SMTP id r16mr8246wju.7.1420546778205; Tue, 06 Jan 2015 04:19:38 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.66 with SMTP id x2ls23290laa.88.gmail; Tue, 06 Jan 2015 04:19:38 -0800 (PST) X-Received: by 10.112.235.137 with SMTP id um9mr99528813lbc.41.1420546778010; Tue, 06 Jan 2015 04:19:38 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id jv7si20591936lab.124.2015.01.06.04.19.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Jan 2015 04:19:37 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id q1so19919634lam.19 for ; Tue, 06 Jan 2015 04:19:37 -0800 (PST) X-Received: by 10.112.41.234 with SMTP id i10mr100772009lbl.25.1420546777545; Tue, 06 Jan 2015 04:19:37 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.9.200 with SMTP id c8csp1157662lbb; Tue, 6 Jan 2015 04:19:36 -0800 (PST) X-Received: by 10.66.242.238 with SMTP id wt14mr154680209pac.60.1420546775751; Tue, 06 Jan 2015 04:19:35 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id al3si48990744pad.232.2015.01.06.04.19.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jan 2015 04:19:35 -0800 (PST) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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-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 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.50 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.50 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shawn.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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",