Re: [PATCH 7/8] gpio: xra1403: mark OF related data as maybe unused

From: Linus Walleij
Date: Sat Mar 11 2023 - 16:50:00 EST


On Sat, Mar 11, 2023 at 12:13 PM Krzysztof Kozlowski
<krzysztof.kozlowski@xxxxxxxxxx> wrote:

> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
>
> drivers/gpio/gpio-xra1403.c:198:34: error: ‘xra1403_spi_of_match’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij