Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756781AbcJXKO2 (ORCPT ); Mon, 24 Oct 2016 06:14:28 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:62352 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756473AbcJXKO0 (ORCPT ); Mon, 24 Oct 2016 06:14:26 -0400 From: Arnd Bergmann To: Baoyou Xie Cc: rmk+kernel@armlinux.org.uk, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, xie.baoyou@zte.com.cn, han.fei@zte.com.cn, tang.qiang007@zte.com.cn Subject: Re: [PATCH] drm/i2c/tda998x: mark symbol static where possible Date: Mon, 24 Oct 2016 12:14:14 +0200 Message-ID: <5367505.BUI00TSeFs@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <1477127682-3615-1-git-send-email-baoyou.xie@linaro.org> References: <1477127682-3615-1-git-send-email-baoyou.xie@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:5WpZMSAUuKpsAP09o3KLKIZcSz1IXU53fBc6lCiMIXwV4WKF2B3 MI1QyplsU+1Ga/DwwU1P5uVilwFZhOdNNfQmVl87b5eFs9dZc88gKMrnuyJ2YbSjutBDskM Te8KfqjoGN/7IsDEfijJtZNhFyTH+iTr907p580ZRSekmR1tD20VP8ucVqPk7iCK5AfyjyI qGlHLxvVvfJNpBLGQHCJg== X-UI-Out-Filterresults: notjunk:1;V01:K0:gFWCtqVJl/o=:K/nucER7l9KKUaT3RfLghh G4jd8waHmulG1lRn+yEQHeTWD+QJ3wC8bJDlxExvrDUMKrxffNM3YNU3NcoDR1jQQ1xKdey++ 7c/5Yr4BPU4KGFCC7+cFpie0hBujePXLzkQdLnf4c50iqjhF+ClLdZiGU503IplSgTqlrCM7o mw1wwfxtXasihbSx3/AJc8vXiBAzAjBCnrcPbt5FbcXPVTMLbG67vicbl7pUoYj8dsJELOgDZ +9ljKH/0xn1JQlG5hyLN9F1c3HXxGI7Ac56CdqOK5udK7jaHtihAjAn1i0wPZ67NXf39zWBAR kWr0xVp1bLuxeGD47fYZaKRx077TiPhcUvj4Qe2BH7YId+JvTWMYCq3yEprkPj4RO5M+G6wlD a4jKTr5fkSAc0Nkvigr/cKqsL/09et6PW/5XjNeRlKLq2m2CxpDbBGIq4fGdFYVB4853Q81Jm OR+l7DxlD9PU1/UeRymHMHrQvDCNtq+gDGkf1QTngnqTU3j4WIcRkLiGyHMZLi91lZ0fSLghy xHFyR8RWqS5ksB2L0wvJO4iBD6xpGF2hyiNyaAr7Qj9bK3/p5krfSLM4FtR3MYKXAoBJmPOsy PfwU9PndEUlY1hXgabVT/dC6sqKt2OH4bsICdPt4Q+/8vmQ052k2einU1vN9uxrGKDT6CSzVO QUpQTnEEww3WjnFhXPhEU7W+E16hUNbA037EckPQrrH4HBCmezjv6ExM54fnSmx4xrjVWC3zt XlrLa1XPjdioQWh2FwehM+vsYsHKoTtN9TVh+cedyWSWyOu/JbDqV4jKp2Ozd0Hzeo0PUEpqA RbVkSNaGaz94Tss0iFf9nfBNBUlvBwQG0gSwBYUMu+iiZmbp4IA3wixglKOW2eFy37b3vlMMz EP/pwdEVOUggrjJEOSbDerzNMrlQ4EfFSzvHI6grM= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 531 Lines: 12 On Saturday, October 22, 2016 5:14:42 PM CEST Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/gpu/drm/i2c/tda998x_drv.c:1292:5: warning: no previous prototype for 'tda998x_audio_digital_mute' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is > declared and don't need a declaration, but can be made static. > So this patch marks this function with 'static'. > > Signed-off-by: Baoyou Xie > Reviewed-by: Arnd Bergmann