From patchwork Tue Oct 8 11:17:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3002921 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 3A1E7BF924 for ; Tue, 8 Oct 2013 11:19:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2AA5D201EF for ; Tue, 8 Oct 2013 11:19:40 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59923201EC for ; Tue, 8 Oct 2013 11:19:35 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTVJl-0006pC-Pk; Tue, 08 Oct 2013 11:19:10 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTVJe-0003mN-DQ; Tue, 08 Oct 2013 11:19:02 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTVJQ-0003jZ-1b for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2013 11:18:48 +0000 Received: by mail-pa0-f52.google.com with SMTP id kl14so8606175pab.25 for ; Tue, 08 Oct 2013 04:18:26 -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=Ty/HEFclq/PVWvln1437YdvC9Exj+5xni6yZhB48tbA=; b=X7SeyiqU2rHVjt4qh2oyqG8WhUF78pWisTpI1Z3029cte3PyIUSbTmjcWZNma5OJiL je7TJl/qFtrBopk45jQJQ9JpVATcv0wRN/XlW0bZ4foEbgGK0VpzYCRHVHPd+QN0mQGa G7ZPUZaBzz94BKEwIryKPSJDWTmbjTEE7yPbGNQghVXfDO/SO5WvKTxSY9si4+Vlk5ko i9qctYiPldxUe0XhGYIJSlj2d+VSCzX9fkFO6tbO8lCiiPJyRsLElcNv1fdxu9/tDeUy TSKTQWz753Ncv98trMtG/7WemBp4orWHUsqAYiLtwiI1UZtWAIsGf481OYY2stBEmTPd 4kwA== X-Gm-Message-State: ALoCoQmGGjixaQQqCpuSQQMJGbz9EqHO3RD9/G/8pz8X+jAVbK2rEC74xeNIZCa3abB7riF6Yn7K X-Received: by 10.68.195.36 with SMTP id ib4mr1360738pbc.56.1381231106719; Tue, 08 Oct 2013 04:18:26 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id tz3sm39406818pbc.20.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 04:18:26 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/10] clk: SPEAr: Staticize clk_frac_ops Date: Tue, 8 Oct 2013 16:47:40 +0530 Message-Id: <1381231068-6053-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1381231068-6053-1-git-send-email-sachin.kamat@linaro.org> References: <1381231068-6053-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131008_071848_171029_C929BF08 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: -2.6 (--) Cc: sachin.kamat@linaro.org, mturquette@linaro.org 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=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 clk_frac_ops is local to this file. Make it static. Signed-off-by: Sachin Kamat Acked-by: Viresh Kumar --- drivers/clk/spear/clk-frac-synth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/spear/clk-frac-synth.c b/drivers/clk/spear/clk-frac-synth.c index 958aa3a..dffd4ce 100644 --- a/drivers/clk/spear/clk-frac-synth.c +++ b/drivers/clk/spear/clk-frac-synth.c @@ -116,7 +116,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate, return 0; } -struct clk_ops clk_frac_ops = { +static struct clk_ops clk_frac_ops = { .recalc_rate = clk_frac_recalc_rate, .round_rate = clk_frac_round_rate, .set_rate = clk_frac_set_rate,