]> www.infradead.org Git - users/dwmw2/linux.git/commit
rtc: fsl-ftm-alarm: Mark acpi_id table as maybe unused
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 22 Feb 2025 11:41:45 +0000 (12:41 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 28 Feb 2025 16:56:22 +0000 (17:56 +0100)
commitf36d6362c62c0acc2f45698495691b5cb349a375
tree4376c1effd3317b4087a83f022072bbb01ecd14d
parent2014c95afecee3e76ca4a56956a936e23283f05b
rtc: fsl-ftm-alarm: Mark acpi_id table as maybe unused

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]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250222114146.162835-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-fsl-ftm-alarm.c