Re: [PATCH] rtc: fsl-ftm: remove incorrect ACPI_PTR annotation

From: Krzysztof Kozlowski
Date: Tue Feb 25 2025 - 12:18:01 EST


On 25/02/2025 17:34, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Building with W=1 shows a warning about ftm_imx_acpi_ids being unused when
> CONFIG_ACPI is disabled:
>
> drivers/rtc/rtc-fsl-ftm-alarm.c:312:36: error: unused variable 'ftm_imx_acpi_ids' [-Werror,-Wunused-const-variable]
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

I already sent a fix for this few days ago:

https://lore.kernel.org/all/20250222114146.162835-1-krzysztof.kozlowski@xxxxxxxxxx/

Best regards,
Krzysztof