Re: [PATCH 1/2] rtc: fsl-ftm-alarm: Mark acpi_id table as maybe unused

From: Alexandre Belloni
Date: Fri Feb 28 2025 - 11:58:08 EST


On Sat, 22 Feb 2025 12:41:45 +0100, Krzysztof Kozlowski wrote:
> For !ACPI builds, the acpi_device_id table will not be referenced
> because of ACPI_PTR:
>
> rtc-fsl-ftm-alarm.c:312:36: error: unused variable 'ftm_imx_acpi_ids' [-Werror,-Wunused-const-variable]
>
>

Applied, thanks!

[1/2] rtc: fsl-ftm-alarm: Mark acpi_id table as maybe unused
https://git.kernel.org/abelloni/c/f36d6362c62c
[2/2] rtc: pl030: Constify amba_id table
https://git.kernel.org/abelloni/c/72ce39bc61fa

Best regards,

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