diff options
author | Tony Lindgren <tony@atomide.com> | 2022-10-28 12:36:04 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2022-12-02 13:16:46 +0100 |
commit | dedb2aced3e958c6f4811d3e6b392652ff0eea01 (patch) | |
tree | e68d3c3c89ddc974d95cc43120af4aa367dc9dbc /drivers/clocksource | |
parent | clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match (diff) | |
download | linux-dedb2aced3e958c6f4811d3e6b392652ff0eea01.tar.xz linux-dedb2aced3e958c6f4811d3e6b392652ff0eea01.zip |
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: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20221028103604.40385-1-tony@atomide.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/timer-ti-dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c index 00af1a8e34fb..eeeeb3c08c91 100644 --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -643,7 +643,7 @@ static int omap_dm_timer_free(struct omap_dm_timer *cookie) 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); if (timer) |