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

From: Alexandre Belloni
Date: Tue Feb 25 2025 - 12:23:26 EST


On 25/02/2025 18:12:10+0100, Krzysztof Kozlowski wrote:
> 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/
>

But wouldn't Arnd's one be better?

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com