Re: [PATCH] clocksource: pxa_timer: add missing header dependencies

From: Daniel Lezcano
Date: Sat Sep 03 2016 - 07:51:38 EST


On 09/03/2016 05:18 AM, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/clocksource/pxa_timer.c:221:13: warning: no previous prototype for 'pxa_timer_nodt_init' [-Wmissing-prototypes]
>
> In fact, this function is declared in include/clocksource/pxa.h,
> although it's not referenced anywhere now, it can be referenced
> by someone out of nowhere in future, so this patch adds missing
> header dependencies.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>
> ---

Already applied [1].

Thanks.

[1]
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=timers/urgent&id=aa8c0f1ad7e862147f4efb32bbb71ff66eb38caa


--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog