From patchwork Tue Apr 24 14:05:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 8085 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 E660C23E1D for ; Tue, 24 Apr 2012 14:06:13 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id B63D9A1828B for ; Tue, 24 Apr 2012 14:06:13 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so416005yhp.11 for ; Tue, 24 Apr 2012 07:06:13 -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=dOP5WnODPYuYVFoAAA1uvo34PA0IPqjSz6NMIZ6sJUg=; b=T1Pnb3kEY1oNr8CYvwyTRP1znpL93KwEwh+AOGo0jLzCFu5AKjHDdDSqNqoqzWn95q oo1famaFnOq0dyUwwLDpSF+VpMkbs+25oU3Y8sBk6DIwVA2tf1d0bhuRHSbjR7OXd7ol qOgTapxYR1jTL99V7D7dwhoNq7D2e4CG/ePLxHcwJp86W12yh19/9xi9BaCsH8v9mG++ AeaLEQnfhJl/H7cSy6R/reeynxKbBp/yjzjEDlxnR5oYji6aAmcU218thifTIxiZHlnl g2CMh95b1ge7xZhZSxzYJLv+eciENZp83wgDoKKU4iLMgSrU5PFeKr3KI/N7gLO+Qftp RI9Q== Received: by 10.50.185.233 with SMTP id ff9mr10312999igc.55.1335276373247; Tue, 24 Apr 2012 07:06:13 -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 x6csp184015ibt; Tue, 24 Apr 2012 07:06:12 -0700 (PDT) Received: by 10.180.100.2 with SMTP id eu2mr31771163wib.1.1335276372093; Tue, 24 Apr 2012 07:06:12 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id bt18si11680888wib.39.2012.04.24.07.06.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:06:12 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-wi0-f172.google.com with SMTP id hj6so3194381wib.13 for ; Tue, 24 Apr 2012 07:06:11 -0700 (PDT) Received: by 10.180.101.8 with SMTP id fc8mr31856810wib.12.1335276371523; Tue, 24 Apr 2012 07:06:11 -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.06.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 07:06:10 -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 16/18][V3] ARM: OMAP3: set omap3_idle_data as static Date: Tue, 24 Apr 2012 16:05:37 +0200 Message-Id: <1335276339-11135-17-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: ALoCoQlRyImuk6Atp5XdkSYS21prEYezAd29orYBOqMw2zSo/wuZ0C55lKwDe11ksu1aJx29BO1D Reduce the scope of the omap3_idle_data to the file as it is only used in cpuidle34xx.c. Signed-off-by: Daniel Lezcano Reviewed-by: Jean Pihet --- arch/arm/mach-omap2/cpuidle34xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index e7599e7..ee02a8c 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c @@ -44,7 +44,7 @@ struct omap3_idle_statedata { u32 core_state; }; -struct omap3_idle_statedata omap3_idle_data[] = { +static struct omap3_idle_statedata omap3_idle_data[] = { { .mpu_state = PWRDM_POWER_ON, .core_state = PWRDM_POWER_ON,