From patchwork Wed May 28 09:28:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4254011 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 19D699F336 for ; Wed, 28 May 2014 09:33:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49C732017A for ; Wed, 28 May 2014 09:33:25 +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 D08882017D for ; Wed, 28 May 2014 09:33:23 +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 1WpaCH-0007iq-Vb; Wed, 28 May 2014 09:30:57 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WpaC5-0007Z5-Fe for linux-arm-kernel@lists.infradead.org; Wed, 28 May 2014 09:30:46 +0000 Received: by mail-pa0-f47.google.com with SMTP id lf10so10649546pab.6 for ; Wed, 28 May 2014 02:30:24 -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=SwcymBuO+8T0AqiEtnKwTSjcZfDJjcYIYtSVNB0UtbU=; b=AyWR3NbLFh+SrGHg0FWCWQWPNgbKZ3K1nLR6mOfq3oo/E7Zr3U3ey1UYf4/z0pRHhi BqZRMAY8YbrmN1Gspn71GgRlkmb0SPIUzp6zhhefK7mPzCByG97ZsuriwUrCTvaYSMA4 fD89T547ioRg/4linWQfPyl19stePnZd9NYBWGODhJeatnxnJ98XzUGKhba5ClouLW79 9gQ+KkHubmAXcG3hPAMOSqDjPq3dT40cO8OGMNraTLi2fWYI2izoqpD7zQwnW8FjY5XD 1IP027O6iLxiyv7ck5BTaXkQgE48jx206Sb+lNAa/5e/ItrsOyrD2sg4vZNsHDpRUpI0 /BZA== X-Gm-Message-State: ALoCoQkWm330jowoaYpKrCvU/wRSIEq/kbnWiUe2izrdnHw/bQ/qVGBoycHIsNayNNjoN6lIY/pH X-Received: by 10.68.194.202 with SMTP id hy10mr44188670pbc.94.1401269424731; Wed, 28 May 2014 02:30:24 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id or4sm27439589pbb.17.2014.05.28.02.30.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 02:30:24 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: spear: Staticize local symbols in spear1340.c Date: Wed, 28 May 2014 14:58:00 +0530 Message-Id: <1401269280-3567-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401269280-3567-1-git-send-email-sachin.kamat@linaro.org> References: <1401269280-3567-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140528_023045_575946_A5E3A693 X-CRM114-Status: GOOD ( 11.19 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, sachin.kamat@linaro.org, viresh.kumar@linaro.org, spear-devel@list.st.com, viresh.linux@gmail.com, shiraz.linux.kernel@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Symbols local to this file are made static. Signed-off-by: Sachin Kamat Acked-by: Viresh Kumar --- arch/arm/mach-spear/spear1340.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach-spear/spear1340.c index 7b6bff7154e1..c601799b4aea 100644 --- a/arch/arm/mach-spear/spear1340.c +++ b/arch/arm/mach-spear/spear1340.c @@ -93,7 +93,7 @@ static int sata_miphy_init(struct device *dev, void __iomem *addr) return 0; } -void sata_miphy_exit(struct device *dev) +static void sata_miphy_exit(struct device *dev) { writel(0, SPEAR1340_PCIE_SATA_CFG); writel(0, SPEAR1340_PCIE_MIPHY_CFG); @@ -107,7 +107,7 @@ void sata_miphy_exit(struct device *dev) msleep(20); } -int sata_suspend(struct device *dev) +static int sata_suspend(struct device *dev) { if (dev->power.power_state.event == PM_EVENT_FREEZE) return 0; @@ -117,7 +117,7 @@ int sata_suspend(struct device *dev) return 0; } -int sata_resume(struct device *dev) +static int sata_resume(struct device *dev) { if (dev->power.power_state.event == PM_EVENT_THAW) return 0;