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: 6311361 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 E87B89F1C2 for ; Fri, 1 May 2015 16:03:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C41420439 for ; Fri, 1 May 2015 16:03:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F8932039D for ; Fri, 1 May 2015 16:03:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030268AbbEAQDF (ORCPT ); Fri, 1 May 2015 12:03:05 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35463 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030216AbbEAQDC (ORCPT ); Fri, 1 May 2015 12:03:02 -0400 Received: by pdbqd1 with SMTP id qd1so95870430pdb.2; 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 Cc: Krzysztof Kozlowski 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 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) {