[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7db487f5a15c4563a92de6da26a633fd@euamsexm01a.eu.qualcomm.com>
Date: Fri, 2 Sep 2016 18:09:12 +0200
From: Kalle Valo <kvalo@....qualcomm.com>
To: Baoyou Xie <baoyou.xie@...aro.org>
CC: <ath9k-devel@....qualcomm.com>, <kvalo@...eaurora.org>,
<linux-wireless@...r.kernel.org>, <ath9k-devel@...ts.ath9k.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<arnd@...db.de>, <baoyou.xie@...aro.org>, <xie.baoyou@....com.cn>
Subject: Re: [v2] ath9k: mark ath_fill_led_pin() static
Baoyou Xie <baoyou.xie@...aro.org> wrote:
> We get 1 warning about global functions without a declaration
> in the ath9k gpio driver when building with W=1:
> drivers/net/wireless/ath/ath9k/gpio.c:25:6: warning: no previous prototype for 'ath_fill_led_pin' [-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 it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
Thanks, 1 patch applied to ath-next branch of ath.git:
c39265f72ae6 ath9k: mark ath_fill_led_pin() static
--
Sent by pwcli
https://patchwork.kernel.org/patch/9303795/
Powered by blists - more mailing lists