From patchwork Fri May 30 10:37:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4269731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1F5BDBEEA7 for ; Fri, 30 May 2014 10:43:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E7D220386 for ; Fri, 30 May 2014 10:43:35 +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 7838A20384 for ; Fri, 30 May 2014 10:43:33 +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 1WqKFm-0002Dw-Jf; Fri, 30 May 2014 10:41:38 +0000 Received: from mail-pb0-f42.google.com ([209.85.160.42]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqKEy-0001be-Tu for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 10:40:49 +0000 Received: by mail-pb0-f42.google.com with SMTP id md12so1591012pbc.15 for ; Fri, 30 May 2014 03:40:28 -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=hoc6LCVtlxmT6G/KgSPnzPRrzx0DeCxcHtO82EBFv7I=; b=Joyb+x/xLE4Mjjn6slTZCBQJcazAHyAGwqYOh4bGnI4+YbWdD3ZjgIAfV9t5ztcya+ X+ysvDDti0YYlaQd74FT/LoOwVgocw8RtDpLvHJxm7aKMDt+jVu7fbO0vFJvQvq9unwZ ZNTO5rTPZLIwbRR/91DpTVkxG25q+NNM9nIpdbC7Wc60wV5woTyo6B353GqWAe0i0Uut qwURy/4ImctRWga3g+chj0p7XHnFtSZ9sszktdou0CEhc0pdAYurIXuZ/O+ULmMXpwF2 8Hn43phHMwwmnMDsYsKTw2arYK3wsEy3krbzGURusgKvy5DUnnD6t+I8ey0FQJMZZoDH 8nsQ== X-Gm-Message-State: ALoCoQnlvDS8PM5gBNJjP49VEFhYCCyo6vzTTNLb4zb1scM8XNEtr9GfSRj5ViQE6wpi8Z8Sp1Ut X-Received: by 10.68.106.130 with SMTP id gu2mr16894041pbb.59.1401446428119; Fri, 30 May 2014 03:40:28 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id ry10sm16856016pab.38.2014.05.30.03.40.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 03:40:27 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH Resend 8/8] ARM: spear: Staticize local symbols in spear1340.c Date: Fri, 30 May 2014 16:07:41 +0530 Message-Id: <1401446261-22423-8-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1401446261-22423-1-git-send-email-sachin.kamat@linaro.org> References: <1401446261-22423-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_034049_002227_6467BA8A X-CRM114-Status: GOOD ( 10.37 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, arnd@arndb.de, sachin.kamat@linaro.org, spear-devel@list.st.com, Viresh Kumar , Shiraz Hashim 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 Cc: Viresh Kumar Cc: Shiraz Hashim Cc: spear-devel@list.st.com --- 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;