Commit dedb2ace authored by Tony Lindgren's avatar Tony Lindgren Committed by Daniel Lezcano

clocksource/drivers/timer-ti-dm: Make timer_get_irq static

We can make timer_get_irq() static as noted by Janusz. It is only used by
omap_rproc_get_timer_irq() via platform data.
Reported-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20221028103604.40385-1-tony@atomide.comSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@kernel.org>
parent 9688498b
...@@ -643,7 +643,7 @@ static int omap_dm_timer_free(struct omap_dm_timer *cookie) ...@@ -643,7 +643,7 @@ static int omap_dm_timer_free(struct omap_dm_timer *cookie)
return 0; return 0;
} }
int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) static int omap_dm_timer_get_irq(struct omap_dm_timer *cookie)
{ {
struct dmtimer *timer = to_dmtimer(cookie); struct dmtimer *timer = to_dmtimer(cookie);
if (timer) if (timer)
......
...@@ -62,8 +62,6 @@ ...@@ -62,8 +62,6 @@
struct omap_dm_timer { struct omap_dm_timer {
}; };
int omap_dm_timer_get_irq(struct omap_dm_timer *timer);
u32 omap_dm_timer_modify_idlect_mask(u32 inputmask); u32 omap_dm_timer_modify_idlect_mask(u32 inputmask);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment