mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] clocksource: timer-ti-dm: Make omap_dm_timer_set_load_start static
@ 2019-03-22 14:43 Yue Haibing
  2019-03-22 22:50 ` [tip:timers/urgent] clocksource/drivers/timer-ti-dm: Make omap_dm_timer_set_load_start() static tip-bot for YueHaibing
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2019-03-22 14:43 UTC (permalink / raw)
  To: daniel.lezcano, tglx; +Cc: linux-kernel, YueHaibing

From: YueHaibing <yuehaibing@huawei.com>

Fix sparse warning:

drivers/clocksource/timer-ti-dm.c:589:5: warning:
 symbol 'omap_dm_timer_set_load_start' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/clocksource/timer-ti-dm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
index c364027..3352da6 100644
--- a/drivers/clocksource/timer-ti-dm.c
+++ b/drivers/clocksource/timer-ti-dm.c
@@ -586,8 +586,8 @@ static int omap_dm_timer_set_load(struct omap_dm_timer *timer, int autoreload,
 }
 
 /* Optimized set_load which removes costly spin wait in timer_start */
-int omap_dm_timer_set_load_start(struct omap_dm_timer *timer, int autoreload,
-                            unsigned int load)
+static int omap_dm_timer_set_load_start(struct omap_dm_timer *timer,
+					int autoreload, unsigned int load)
 {
 	u32 l;
 
-- 
2.7.0



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

end of thread, other threads:[~2019-03-22 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 14:43 [PATCH -next] clocksource: timer-ti-dm: Make omap_dm_timer_set_load_start static Yue Haibing
2019-03-22 22:50 ` [tip:timers/urgent] clocksource/drivers/timer-ti-dm: Make omap_dm_timer_set_load_start() static tip-bot for YueHaibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome