Re: [PATCH v2 1/1] clocksource/drivers/timer-ti-dm: Fix compile test warning

From: Daniel Lezcano
Date: Wed Aug 17 2022 - 15:08:33 EST


On 15/08/2022 15:16, Tony Lindgren wrote:
We can get a warning with COMPILE_TEST enabled for omap_timer_match
for 'omap_timer_match' defined but not used.

Fixes: ab0bbef3ae0f ("clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>

---

Changes since v1:

- Remove of_match_ptr() instead of adding __maybe_unused as suggested by Arnd

Applied for 6.0-rc, thanks



--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog