[PATCH 8/8] gpio: raspberrypi-exp: mark OF related data as maybe unused
Linus Walleij
linus.walleij at linaro.org
Sat Mar 11 13:49:40 PST 2023
On Sat, Mar 11, 2023 at 12:13 PM Krzysztof Kozlowski
<krzysztof.kozlowski at linaro.org> wrote:
> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
>
> drivers/gpio/gpio-raspberrypi-exp.c:237:34: error: ‘rpi_exp_gpio_ids’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-riscv
mailing list