From patchwork Tue Apr 24 14:05:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 8073 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 292C923E1D for ; Tue, 24 Apr 2012 14:05:52 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id E5148A18962 for ; Tue, 24 Apr 2012 14:05:51 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so1457668iag.11 for ; Tue, 24 Apr 2012 07:05:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=/aeMQOHlHPuN0vP/+DK9/HOC6Q0Rrp3R8Nt2Udu4/W8=; b=TamBUUqk9k3Y8Ps5tyNCIDLyEkusH9pA+AY3x985Ac6dKy1vIa+PKvEGhqMgmejjph L/2owt1hp4ywoFSsHcDhh6ACRl+N9QZBeNktQVAkHJGL1dyy2vwG5DLpmTT4DvS4R/Ks KRPFi+oweuZTVqyEe3t4jFNToDLFvTmz4dEzvPrm/M6b2vhthLxnrjQUNz5qkN2KeVPG ulEyBqUlvRVNSbihTdzWgiHINexw42RhrBNCqLgYPCZvdl4dZ7DSB2E560n2yOUpF8gg XymREJy80YSFoqWLdzc+tR2dbJHI9ghh/oZQaTzH29L6RJTE9Q5HK5Me0EBldOoB74s7 waqA== Received: by 10.42.80.19 with SMTP id t19mr5318408ick.55.1335276351705; Tue, 24 Apr 2012 07:05:51 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp183953ibt; Tue, 24 Apr 2012 07:05:51 -0700 (PDT) Received: by 10.216.139.204 with SMTP id c54mr12440690wej.103.1335276349814; Tue, 24 Apr 2012 07:05:49 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id w28si19326272weq.138.2012.04.24.07.05.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:05:49 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-we0-f178.google.com with SMTP id a13so605477wer.37 for ; Tue, 24 Apr 2012 07:05:49 -0700 (PDT) Received: by 10.180.102.3 with SMTP id fk3mr8217622wib.9.1335276349344; Tue, 24 Apr 2012 07:05:49 -0700 (PDT) Received: from localhost.localdomain (AToulouse-159-1-17-225.w92-134.abo.wanadoo.fr. [92.134.64.225]) by mx.google.com with ESMTPS id fl2sm47121222wib.2.2012.04.24.07.05.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:05:48 -0700 (PDT) From: Daniel Lezcano To: santosh.shilimkar@ti.com, jean.pihet@newoldbits.com, khilman@ti.com, tony@atomide.com Cc: linux-omap@vger.kernel.org, linaro-dev@lists.linaro.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org Subject: [PATCH 04/18][V3] ARM: OMAP4: cpuidle - fix static omap4_idle_data declaration Date: Tue, 24 Apr 2012 16:05:25 +0200 Message-Id: <1335276339-11135-5-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1335276339-11135-1-git-send-email-daniel.lezcano@linaro.org> References: <1335276339-11135-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQnuwLnsG6zkxQXhmVJ4XpAU/xzjQGSkwy+euSj0l/xWshC32/bihldqaeHzVEE+EQTvlIZl Add the static declaration for the omap4_idle_data variable because its scope is in the file only. Signed-off-by: Daniel Lezcano Reviewed-by: Jean Pihet Reviewed-by: Santosh Shilimkar --- arch/arm/mach-omap2/cpuidle44xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm/mach-omap2/cpuidle44xx.c index 522ec23..38ecd27 100644 --- a/arch/arm/mach-omap2/cpuidle44xx.c +++ b/arch/arm/mach-omap2/cpuidle44xx.c @@ -33,7 +33,7 @@ struct omap4_idle_statedata { #define OMAP4_NUM_STATES 3 -struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES]; +static struct omap4_idle_statedata omap4_idle_data[OMAP4_NUM_STATES]; static struct powerdomain *mpu_pd, *cpu0_pd, *cpu1_pd; /**