From patchwork Fri Apr 4 07:47:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 3936881 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 331049F3FF for ; Fri, 4 Apr 2014 07:48:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59950203E5 for ; Fri, 4 Apr 2014 07:48:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7FE80203DC for ; Fri, 4 Apr 2014 07:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752138AbaDDHsF (ORCPT ); Fri, 4 Apr 2014 03:48:05 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:64203 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752156AbaDDHsE (ORCPT ); Fri, 4 Apr 2014 03:48:04 -0400 Received: by mail-wi0-f174.google.com with SMTP id d1so695388wiv.1 for ; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) 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:in-reply-to :references; bh=pf76EO+pG7D2bXa8ZOr+f3mn8QM2d0tAsib3Ff+w7rs=; b=kP94JdEtpa8mi0TdxG9HutYoQfegjM2FhCUSEUNymdvawG4WuF/28yXq1CmBbiMD3/ oRoUDWDO/rFw9jriGcXGS5STGIpUuf8EwJY571/z3srr3jGDqSWys8CdqOAyLYHQ5mQ6 UVGt/o+Y52OKgyWEv+WsWMI6hkw8GIWKwkWsPlhett5PT1S36+VPoiQXQ9PHmJA7LWnG 5QIRFisFMtUJHUYBr+Tyg1sdWK7XjXNkFzAqzbtE8nfC+jntXxfsL5B3nd8G2OsT7oVs UZnbkuLg2lsiYEcxeUsXNsvyzUESD91XPeoD1CFZSTMYeggVmOU1RQbNY9Ep+w4KsF0g BGaw== X-Gm-Message-State: ALoCoQnBzNEOq508nLW5NxBhw67Lk9SWiEIsnqXx6BNkE8UUJl4WJ0c2mK/ZntBHrNjbgPyOuvpW X-Received: by 10.194.78.77 with SMTP id z13mr17348887wjw.64.1396597683100; Fri, 04 Apr 2014 00:48:03 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-451-172.w83-205.abo.wanadoo.fr. [83.205.74.172]) by mx.google.com with ESMTPSA id t1sm3028163wia.1.2014.04.04.00.48.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 00:48:02 -0700 (PDT) From: Daniel Lezcano To: kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, t.figa@samsung.com, linaro-kernel@lists.linaro.org, rjw@rjwysocki.net Subject: [PATCH 12/17] ARM: exynos: cpuidle: Move S5P_CHECK_AFTR in a header Date: Fri, 4 Apr 2014 09:47:58 +0200 Message-Id: <1396597683-6969-13-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396597683-6969-1-git-send-email-daniel.lezcano@linaro.org> References: <1396597683-6969-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Move the S5P_CHECK_AFTR definition to the header it belongs to. Signed-off-by: Daniel Lezcano Reviewed-by: Viresh Kumar --- arch/arm/mach-exynos/cpuidle.c | 2 -- arch/arm/mach-exynos/regs-pmu.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index 635b09c..839185e 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -38,8 +38,6 @@ S5P_INFORM6 : (samsung_rev() == EXYNOS4210_REV_1_0 ? \ (S5P_VA_SYSRAM + 0x20) : S5P_INFORM1)) -#define S5P_CHECK_AFTR 0xFCBA0D10 - #define EXYNOS5_PWR_CTRL1 (S5P_VA_CMU + 0x01020) #define EXYNOS5_PWR_CTRL2 (S5P_VA_CMU + 0x01024) diff --git a/arch/arm/mach-exynos/regs-pmu.h b/arch/arm/mach-exynos/regs-pmu.h index 7c029ce..651014a 100644 --- a/arch/arm/mach-exynos/regs-pmu.h +++ b/arch/arm/mach-exynos/regs-pmu.h @@ -119,6 +119,7 @@ #define S5P_INT_LOCAL_PWR_EN 0x7 #define S5P_CHECK_SLEEP 0x00000BAD +#define S5P_CHECK_AFTR 0xFCBA0D10 /* Only for EXYNOS4210 */ #define S5P_CMU_CLKSTOP_LCD1_LOWPWR S5P_PMUREG(0x1154)