From patchwork Tue Oct 8 11:17:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3002941 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 92299BF924 for ; Tue, 8 Oct 2013 11:20:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 117C5201EC for ; Tue, 8 Oct 2013 11:20:46 +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 D05FF201F2 for ; Tue, 8 Oct 2013 11:20:44 +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 1VTVKE-00076f-TN; Tue, 08 Oct 2013 11:19:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTVJx-0003o9-4c; Tue, 08 Oct 2013 11:19:21 +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 1VTVJU-0003jk-Pr for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2013 11:18:54 +0000 Received: by mail-pa0-f52.google.com with SMTP id kl14so8662472pab.39 for ; Tue, 08 Oct 2013 04:18:35 -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=6F/iM251BvOT03ZCzzvi+w3GpEb5RlnQw3yfifuMV78=; b=famH1bciZcImljxb0XRtFKev8g7B9cGVKANcMfrQSFJNCecRFnshk6DkrNz+Z1AWBR 1FTTnvvWRfCcHmMjV87WDczBhnDhRFiM5gY4YHW0oQV1Q8WrZfKJiTxxLhHBE2g2ZaqD PcIic6thaTf9y1rJFHWdBbEkE+C5xB7hq2mSqNnE/YT3t9CxJQIOuqJFFzhCMxwBilxd ABL8/peo89I6So1tBez6QfxX/rxGUBLBISeMbj/EAaM8T6DD5h2ay60vW5WaFMTY/zsK 0SGPUHCwful/0lj6FZDqINw/VGxVmFLtwNCrnt3/oM4aRKLbZVGGBwHgoopPdkWYFm+N 89Rw== X-Gm-Message-State: ALoCoQktHK1wKCSugW2RjZKOvO/XyLX4MzDJmT9ODvBRFb7qIFgym7QDgg6XWddF5nPTLv5NVi4i X-Received: by 10.66.122.40 with SMTP id lp8mr2931832pab.82.1381231115136; Tue, 08 Oct 2013 04:18:35 -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:34 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/10] clk: versatile: Staticize clk_sp810_timerclken_of_get Date: Tue, 8 Oct 2013 16:47:44 +0530 Message-Id: <1381231068-6053-6-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_071853_039855_00EF6923 X-CRM114-Status: GOOD ( 10.83 ) 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_sp810_timerclken_of_get is used only in this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/clk/versatile/clk-sp810.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/versatile/clk-sp810.c b/drivers/clk/versatile/clk-sp810.c index bf9b15a..c6e86a9 100644 --- a/drivers/clk/versatile/clk-sp810.c +++ b/drivers/clk/versatile/clk-sp810.c @@ -123,7 +123,7 @@ static const struct clk_ops clk_sp810_timerclken_ops = { .set_parent = clk_sp810_timerclken_set_parent, }; -struct clk *clk_sp810_timerclken_of_get(struct of_phandle_args *clkspec, +static struct clk *clk_sp810_timerclken_of_get(struct of_phandle_args *clkspec, void *data) { struct clk_sp810 *sp810 = data;