Skip to content

Commit 008258d

Browse files
YueHaibingKAGA-KOKO
authored andcommitted
clocksource/drivers/timer-ti-dm: Make omap_dm_timer_set_load_start() static
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> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: <daniel.lezcano@linaro.org> Link: https://lkml.kernel.org/r/20190322144302.6704-1-yuehaibing@huawei.com
1 parent bddee90 commit 008258d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clocksource/timer-ti-dm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,8 @@ static int omap_dm_timer_set_load(struct omap_dm_timer *timer, int autoreload,
586586
}
587587

588588
/* Optimized set_load which removes costly spin wait in timer_start */
589-
int omap_dm_timer_set_load_start(struct omap_dm_timer *timer, int autoreload,
590-
unsigned int load)
589+
static int omap_dm_timer_set_load_start(struct omap_dm_timer *timer,
590+
int autoreload, unsigned int load)
591591
{
592592
u32 l;
593593

0 commit comments

Comments
 (0)