From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 2/9] clk: sunxi-ng: nk: Make ccu_nk_find_best static Date: Tue, 26 Jul 2016 10:57:11 +0200 Message-ID: <20160726085711.GC7190@lukather> References: <1469516671-19377-1-git-send-email-wens@csie.org> <1469516671-19377-3-git-send-email-wens@csie.org> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s9fJI615cBHmzTOP" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <1469516671-19377-3-git-send-email-wens-jdAy2FN1RRM@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chen-Yu Tsai Cc: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , dev-3kdeTeqwOZ9EV1b7eY7vFQ@public.gmane.org, linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --s9fJI615cBHmzTOP Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Tue, Jul 26, 2016 at 03:04:24PM +0800, Chen-Yu Tsai wrote: > make C=2 reports: > > CHECK drivers/clk/sunxi-ng/ccu_nk.c > drivers/clk/sunxi-ng/ccu_nk.c:17:6: warning: symbol 'ccu_nk_find_best' was > not declared. Should it be static? > > ccu_nk_find_best is only used within ccu_nk.c. So make it static to get > rid of this warning. > > Fixes: adbfb0056e03 ("clk: sunxi-ng: Add N-K-factor clock support") > Signed-off-by: Chen-Yu Tsai Applied, thanks Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --s9fJI615cBHmzTOP--