From patchwork Thu Dec 19 08:53:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3375931 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E37959F314 for ; Thu, 19 Dec 2013 08:59:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 116EF204D2 for ; Thu, 19 Dec 2013 08:59:45 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 60A4220620 for ; Thu, 19 Dec 2013 08:59:40 +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 1VtZR1-0001f5-Ij; Thu, 19 Dec 2013 08:58:24 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VtZQn-0008LA-DO; Thu, 19 Dec 2013 08:58:09 +0000 Received: from mail-pa0-f45.google.com ([209.85.220.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VtZQM-0008HW-8S for linux-arm-kernel@lists.infradead.org; Thu, 19 Dec 2013 08:57:43 +0000 Received: by mail-pa0-f45.google.com with SMTP id fb1so882806pad.18 for ; Thu, 19 Dec 2013 00:57:20 -0800 (PST) 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=h9sniObjttET1yXH4bOyE3jrif4BK/8PXGXNUHRQi9A=; b=IuGniLTR5APAH+c+7Kd7RICoDlQGiWXJPh8NP8qhZ17z633lbL6NMymjNBBWkmt4Zb H8ceMTlLFKiFqfsAW8EGBNeKAz+K1uYIdZM854w1HVY2LrZC9/7bLt/2vyUt5OmCIEe0 Zy52QGcfvYfsngFPWbZkcbCjO+gtuShIB/T8RhFVV/1MDPyAoxKevbO9F+O8FOD2ySza fk3+1mtzy5HPyYOAT7gQ73Ltr/9QSAO949kXj416tl7dEjHNMSKyBDPINRdUAbtXuwx+ Z7d7kblQvwh/Tpn7MPEvQugQcnk/Ag0q2zn31k2mX9FOdkFHusVXaSU9C5FvnKi+9XPU mIog== X-Gm-Message-State: ALoCoQmzqs+8PJS7NmiIx5C/SOrGddbEytxHRPk3r33R10drKZWjtgZ2LSFJMzkGhZ26QHRMSSXA X-Received: by 10.68.191.3 with SMTP id gu3mr353192pbc.142.1387443440777; Thu, 19 Dec 2013 00:57:20 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ql10sm5522509pbc.44.2013.12.19.00.57.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 00:57:20 -0800 (PST) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH Resend 4/7] clk: versatile: Staticize clk_sp810_timerclken_of_get Date: Thu, 19 Dec 2013 14:23:58 +0530 Message-Id: <1387443241-5694-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1387443241-5694-1-git-send-email-sachin.kamat@linaro.org> References: <1387443241-5694-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131219_035742_414535_F388FA0A X-CRM114-Status: GOOD ( 11.33 ) 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.7 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 bf9b15a585e1..c6e86a9a2aa3 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;