From patchwork Wed Aug 23 22:39:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9918553 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EFD57603FA for ; Wed, 23 Aug 2017 22:39:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E32F9288F8 for ; Wed, 23 Aug 2017 22:39:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7E9928A9F; Wed, 23 Aug 2017 22:39:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E640D288F8 for ; Wed, 23 Aug 2017 22:39:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751156AbdHWWjh (ORCPT ); Wed, 23 Aug 2017 18:39:37 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47196 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbdHWWjg (ORCPT ); Wed, 23 Aug 2017 18:39:36 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 322626041C; Wed, 23 Aug 2017 22:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1503527976; bh=w0bvt44knWjal5W+K99RrShvwfcTUveB2n71nrw/Fqc=; h=From:To:Cc:Subject:Date:From; b=G6IFAGxjIrWVRf2IFd+jumwxmUi+W81eUt5ix8W9XXgN/ti8018AyVxvccUNoa+pe MU8gtujwQ+j2DjNgFuAzAWquTynlXcrSKgioEeoM5EqdIHRoBF8+LOHQE/0ZYjLakz IetgM1LF4+mXw6j62b7myILaIBvlzWSIaScJsxNM= Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 82E156041C; Wed, 23 Aug 2017 22:39:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1503527974; bh=w0bvt44knWjal5W+K99RrShvwfcTUveB2n71nrw/Fqc=; h=From:To:Cc:Subject:Date:From; b=BD2YO8pXyts7fEEfVm00vsU58Pl72kE51EpQ4f5XgKXBG3Zk/bQFTUIc8AIMSp0E8 GVIJnhedPRgbHtc9oDIpfiNnC4vTpyOWgAfnRxDltSAzqpEuBGVSWRFovU7a2bGTp9 huo2XoJuwBaDUB1QKnyEyZG2y5t6uAB5ecvXpk90= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 82E156041C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Elaine Zhang , Heiko Stuebner Subject: [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static Date: Wed, 23 Aug 2017 15:39:32 -0700 Message-Id: <20170823223932.27881-1-sboyd@codeaurora.org> X-Mailer: git-send-email 2.14.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Silence the sparse warning clk/rockchip/clk.c:172:6: warning: symbol 'rockchip_fractional_approximation' was not declared. Should it be static? Cc: Elaine Zhang Cc: Heiko Stuebner Signed-off-by: Stephen Boyd --- drivers/clk/rockchip/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c index b6db79a00602..35dbd63c2f49 100644 --- a/drivers/clk/rockchip/clk.c +++ b/drivers/clk/rockchip/clk.c @@ -169,7 +169,7 @@ static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb, * fractional divider must set that denominator is 20 times larger than * numerator to generate precise clock frequency. */ -void rockchip_fractional_approximation(struct clk_hw *hw, +static void rockchip_fractional_approximation(struct clk_hw *hw, unsigned long rate, unsigned long *parent_rate, unsigned long *m, unsigned long *n) {