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

Arnd Bergmann arnd at arndb.de
Mon Aug 15 06:49:58 PDT 2022


On Mon, Aug 15, 2022 at 3:16 PM Tony Lindgren <tony at atomide.com> 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 at intel.com>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Tony Lindgren <tony at atomide.com>
>
> ---
>
> 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 at arndb.de>



More information about the linux-arm-kernel mailing list