From patchwork Fri May 1 16:02:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6311681 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 97A829F373 for ; Fri, 1 May 2015 16:11:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C46E8200E5 for ; Fri, 1 May 2015 16:11:30 +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 11C02203C1 for ; Fri, 1 May 2015 16:11:30 +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 1YoDU8-0000Sc-EM; Fri, 01 May 2015 16:08:16 +0000 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoDPO-0003hg-N3 for linux-arm-kernel@lists.infradead.org; Fri, 01 May 2015 16:03:23 +0000 Received: by pdea3 with SMTP id a3so95833072pde.3 for ; Fri, 01 May 2015 09:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DjMqVnhtc2XHo7npTzNUPg54CGTi34BYxUj2TuTVhfY=; b=EASpSQGDd2GfsPNC1CG1Opdgtfm1cawejD4oCP3bg+BoidFV9SNG5yzN17nwZDKiRz lAR+juXu9421KtFlymZnsq8n+eAP3Ti32MFfWZ38ZGgOxLjxo72y6vJePR9ZebYR4+Em MGjAzFNOiD7GYlgSR5+uJ5NEzwhGvwNHap++gZXVeeO8Lpgta141DS2uQ0e7ciLQI46J jJ6Te5oSEUagu1c9tiT7UGnQgjoatH5vYA2lUmbjNx6C28+w9wXx0+keg6W0qwYysXVx zXwGJqVyWLJpd5Uy2pA8Dw9ij0HIhPlxrlGbKboJoOAfy0SKSCszh63IwELSE2JXfi7v x48A== X-Received: by 10.66.65.204 with SMTP id z12mr19224905pas.155.1430496181392; Fri, 01 May 2015 09:03:01 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id ph4sm5238477pdb.43.2015.05.01.09.02.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 May 2015 09:03:00 -0700 (PDT) From: Krzysztof Kozlowski To: Kukjin Kim , Sylwester Nawrocki , Tomasz Figa , Mike Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] clk: s3c2410: Staticize local symbols Date: Sat, 2 May 2015 01:02:47 +0900 Message-Id: <1430496168-32408-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150501_090322_844542_D2CEDA4E X-CRM114-Status: GOOD ( 11.32 ) X-Spam-Score: -0.8 (/) Cc: Krzysztof Kozlowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_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 Staticize symbols not exported and not used outside of file. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-s3c2410-dclk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-s3c2410-dclk.c b/drivers/clk/samsung/clk-s3c2410-dclk.c index f4f29ed6bd25..db6fddb211d4 100644 --- a/drivers/clk/samsung/clk-s3c2410-dclk.c +++ b/drivers/clk/samsung/clk-s3c2410-dclk.c @@ -81,13 +81,13 @@ static int s3c24xx_clkout_set_parent(struct clk_hw *hw, u8 index) return ret; } -const struct clk_ops s3c24xx_clkout_ops = { +static const struct clk_ops s3c24xx_clkout_ops = { .get_parent = s3c24xx_clkout_get_parent, .set_parent = s3c24xx_clkout_set_parent, .determine_rate = __clk_mux_determine_rate, }; -struct clk *s3c24xx_register_clkout(struct device *dev, const char *name, +static struct clk *s3c24xx_register_clkout(struct device *dev, const char *name, const char **parent_names, u8 num_parents, u8 shift, u32 mask) {