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

From: Arnd Bergmann
Date: Mon Aug 15 2022 - 09:50:24 EST


On Mon, Aug 15, 2022 at 3:16 PM Tony Lindgren <tony@xxxxxxxxxxx> 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
>

Looks good to me,

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>