Re: [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static
From: Alexander Shiyan
Date: Sun Mar 24 2019 - 02:22:14 EST
This should be fixed by applying "[PATCH] clocksource: clps711x: Remove board support".
https://www.lkml.org/lkml/2018/12/20/468
>ÐÑÐÐÐÑÐ, 23 ÐÐÑÑÐ 2019, 1:49 +03:00 ÐÑ tip-bot for YueHaibing <tipbot@xxxxxxxxx>:
>
>Commit-ID: d18a7408d7be0f34a120d99051ed5187d9727728
>Gitweb: https://git.kernel.org/tip/d18a7408d7be0f34a120d99051ed5187d9727728
>Author: YueHaibing < yuehaibing@xxxxxxxxxx >
>AuthorDate: Fri, 22 Mar 2019 22:37:08 +0800
>Committer: Thomas Gleixner < tglx@xxxxxxxxxxxxx >
>CommitDate: Fri, 22 Mar 2019 22:59:32 +0100
>
>clocksource/drivers/clps711x: Make clps711x_clksrc_init() static
>
>Fix sparse warning:
>
>drivers/clocksource/clps711x-timer.c:96:13: warning:
>Âsymbol 'clps711x_clksrc_init' was not declared. Should it be static?
>
>Signed-off-by: YueHaibing < yuehaibing@xxxxxxxxxx >
>Signed-off-by: Thomas Gleixner < tglx@xxxxxxxxxxxxx >
>Cc: < daniel.lezcano@xxxxxxxxxx >
>Cc: < shc_work@xxxxxxx >
>Cc: < linux-arm-kernel@xxxxxxxxxxxxxxxxxxx >
>Link: https://lkml.kernel.org/r/20190322143708.12716-1-yuehaibing@xxxxxxxxxx
>
>---
>Âdrivers/clocksource/clps711x-timer.c | 5 +++--
>Â1 file changed, 3 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/clocksource/clps711x-timer.c b/drivers/clocksource/clps711x-timer.c
>index a8dd80576c95..cdc251524f5e 100644
>--- a/drivers/clocksource/clps711x-timer.c
>+++ b/drivers/clocksource/clps711x-timer.c
>@@ -93,8 +93,9 @@ static int __init _clps711x_clkevt_init(struct clk *clock, void __iomem *base,
>Â "clps711x-timer", clkevt);
>Â}
>Â
>-void __init clps711x_clksrc_init(void __iomem *tc1_base, void __iomem *tc2_base,
>- unsigned int irq)
>+static void __init clps711x_clksrc_init(void __iomem *tc1_base,
>+void __iomem *tc2_base,
>+unsigned int irq)
>Â{
>Âstruct clk *tc1 = clk_get_sys("clps711x-timer.0", NULL);
>Âstruct clk *tc2 = clk_get_sys("clps711x-timer.1", NULL);
---