All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] clocksource: clps711x: Make clps711x_clksrc_init static
@ 2019-03-22 14:37 ` Yue Haibing
  0 siblings, 0 replies; 5+ messages in thread
From: Yue Haibing @ 2019-03-22 14:37 UTC (permalink / raw)
  To: daniel.lezcano, tglx, shc_work; +Cc: linux-kernel, linux-arm-kernel, YueHaibing

From: YueHaibing <yuehaibing@huawei.com>

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@huawei.com>
---
 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 a8dd805..cdc2515 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);
-- 
2.7.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH -next] clocksource: clps711x: Make clps711x_clksrc_init static
@ 2019-03-22 14:37 ` Yue Haibing
  0 siblings, 0 replies; 5+ messages in thread
From: Yue Haibing @ 2019-03-22 14:37 UTC (permalink / raw)
  To: daniel.lezcano, tglx, shc_work; +Cc: YueHaibing, linux-kernel, linux-arm-kernel

From: YueHaibing <yuehaibing@huawei.com>

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@huawei.com>
---
 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 a8dd805..cdc2515 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);
-- 
2.7.0



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static
  2019-03-22 14:37 ` Yue Haibing
  (?)
@ 2019-03-22 22:49 ` tip-bot for YueHaibing
  2019-03-24  6:20     ` Alexander Shiyan
  -1 siblings, 1 reply; 5+ messages in thread
From: tip-bot for YueHaibing @ 2019-03-22 22:49 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: yuehaibing, tglx, linux-kernel, linux-arm-kernel, daniel.lezcano,
	mingo, shc_work, hpa

Commit-ID:  d18a7408d7be0f34a120d99051ed5187d9727728
Gitweb:     https://git.kernel.org/tip/d18a7408d7be0f34a120d99051ed5187d9727728
Author:     YueHaibing <yuehaibing@huawei.com>
AuthorDate: Fri, 22 Mar 2019 22:37:08 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
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@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <daniel.lezcano@linaro.org>
Cc: <shc_work@mail.ru>
Cc: <linux-arm-kernel@lists.infradead.org>
Link: https://lkml.kernel.org/r/20190322143708.12716-1-yuehaibing@huawei.com

---
 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);

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static
  2019-03-22 22:49 ` [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static tip-bot for YueHaibing
@ 2019-03-24  6:20     ` Alexander Shiyan
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Shiyan @ 2019-03-24  6:20 UTC (permalink / raw)
  To: tglx, yuehaibing, hpa, mingo, shc_work, daniel.lezcano,
	linux-kernel, linux-arm-kernel
  Cc: linux-tip-commits

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@zytor.com>:
>
>Commit-ID:  d18a7408d7be0f34a120d99051ed5187d9727728
>Gitweb:  https://git.kernel.org/tip/d18a7408d7be0f34a120d99051ed5187d9727728
>Author:     YueHaibing < yuehaibing@huawei.com >
>AuthorDate: Fri, 22 Mar 2019 22:37:08 +0800
>Committer:  Thomas Gleixner < tglx@linutronix.de >
>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@huawei.com >
>Signed-off-by: Thomas Gleixner < tglx@linutronix.de >
>Cc: < daniel.lezcano@linaro.org >
>Cc: < shc_work@mail.ru >
>Cc: < linux-arm-kernel@lists.infradead.org >
>Link:  https://lkml.kernel.org/r/20190322143708.12716-1-yuehaibing@huawei.com
>
>---
> 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);


---

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static
@ 2019-03-24  6:20     ` Alexander Shiyan
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Shiyan @ 2019-03-24  6:20 UTC (permalink / raw)
  To: tglx, yuehaibing, hpa, mingo, shc_work, daniel.lezcano,
	linux-kernel, linux-arm-kernel
  Cc: linux-tip-commits

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@zytor.com>:
>
>Commit-ID:  d18a7408d7be0f34a120d99051ed5187d9727728
>Gitweb:  https://git.kernel.org/tip/d18a7408d7be0f34a120d99051ed5187d9727728
>Author:     YueHaibing < yuehaibing@huawei.com >
>AuthorDate: Fri, 22 Mar 2019 22:37:08 +0800
>Committer:  Thomas Gleixner < tglx@linutronix.de >
>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@huawei.com >
>Signed-off-by: Thomas Gleixner < tglx@linutronix.de >
>Cc: < daniel.lezcano@linaro.org >
>Cc: < shc_work@mail.ru >
>Cc: < linux-arm-kernel@lists.infradead.org >
>Link:  https://lkml.kernel.org/r/20190322143708.12716-1-yuehaibing@huawei.com
>
>---
> 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);


---
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-24  6:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 14:37 [PATCH -next] clocksource: clps711x: Make clps711x_clksrc_init static Yue Haibing
2019-03-22 14:37 ` Yue Haibing
2019-03-22 22:49 ` [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static tip-bot for YueHaibing
2019-03-24  6:20   ` Alexander Shiyan
2019-03-24  6:20     ` Alexander Shiyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.