From patchwork Fri Sep 13 09:23:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2882441 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 8BAEDBFF05 for ; Fri, 13 Sep 2013 09:45:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E634B2038C for ; Fri, 13 Sep 2013 09:45:13 +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 B9D7A2038B for ; Fri, 13 Sep 2013 09:45:12 +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 1VKPuf-000841-MG; Fri, 13 Sep 2013 09:43:42 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKPuB-0007M9-T5; Fri, 13 Sep 2013 09:43:11 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VKPtb-0007GZ-IN for linux-arm-kernel@lists.infradead.org; Fri, 13 Sep 2013 09:42:36 +0000 Received: by mail-pd0-f180.google.com with SMTP id y10so1017506pdj.39 for ; Fri, 13 Sep 2013 02:42:14 -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=CJK1Ppja2I2UFoqmGQZC/XZvOYYnVGPgELN9VlvduZFesd4sfLhH2tk1f2Eh7vwARi VpW7h03us9qQQg3k/qHFhEO3i+4yHlMTc96ChlOPEjz9AOvnUN+xI3ROy6X/B0L8a6jb oS0DAJJVudQhpOpDdq5DPFX+Z01ARNfrDaGbK0NXxKQH5kHQGIF/HwXF90NRlqqGDMxr bzExg74FG7gj+baJkWIkWY2yMZ2bhWjlzh0oenmYuNKJXQr6/ohMSoqk5fBKkFW4O4ov dXTQ9a8+Eul8A0TXS8tEXtrQ6exNeTbeeYbZ88xDPKw6e/oAgGo5xZLMyx8CPEpy38Wa UFCw== X-Gm-Message-State: ALoCoQkQJE1+oGUtvdH87he1DhYqkrhx6S1sK8h5g4BPrhBJrqgMjN1z4XuMwrRGA0bVCyBGYQe+ X-Received: by 10.66.180.200 with SMTP id dq8mr14507176pac.104.1379065334261; Fri, 13 Sep 2013 02:42:14 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id mr3sm10532251pbb.27.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 02:42:13 -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: Fri, 13 Sep 2013 14:53:48 +0530 Message-Id: <1379064232-10261-6-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1379064232-10261-1-git-send-email-sachin.kamat@linaro.org> References: <1379064232-10261-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130913_054235_743692_6AD3BE4A X-CRM114-Status: GOOD ( 10.42 ) X-Spam-Score: -1.9 (-) 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=-5.1 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;