[PATCH] irqchip: meson-gpio: mark OF related data as maybe unused

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sat Mar 11 13:01:40 PST 2023


On Sat, Mar 11, 2023 at 12:14 PM Krzysztof Kozlowski
<krzysztof.kozlowski at linaro.org> wrote:
>
> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
>
>   drivers/irqchip/irq-meson-gpio.c:153:34: error: ‘meson_irq_gpio_matches’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-amlogic mailing list