Re: [PATCH 19/21] clk: spear: Move prototype to accessible header

From: Viresh Kumar
Date: Wed Jan 27 2021 - 00:14:20 EST


On 26-01-21, 12:45, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/clk/spear/spear1310_clock.c:385:13: warning: no previous prototype for ‘spear1310_clk_init’ [-Wmissing-prototypes]
> drivers/clk/spear/spear1340_clock.c:442:13: warning: no previous prototype for ‘spear1340_clk_init’ [-Wmissing-prototypes]
>
> Cc: Viresh Kumar <vireshk@xxxxxxxxxx>
> Cc: Shiraz Hashim <shiraz.linux.kernel@xxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxx>
> Cc: Rajeev Kumar <rajeev-dlh.kumar@xxxxxx>
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
> arch/arm/mach-spear/generic.h | 12 ------------
> arch/arm/mach-spear/spear13xx.c | 1 +
> drivers/clk/spear/spear1310_clock.c | 1 +
> drivers/clk/spear/spear1340_clock.c | 1 +
> include/linux/clk/spear.h | 23 +++++++++++++++++++++++
> 5 files changed, 26 insertions(+), 12 deletions(-)
> create mode 100644 include/linux/clk/spear.h

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh