[PATCH 8/8] gpio: raspberrypi-exp: mark OF related data as maybe unused

Florian Fainelli f.fainelli at gmail.com
Wed Mar 15 11:36:24 PDT 2023


On 3/11/23 03:13, Krzysztof Kozlowski 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: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian




More information about the linux-riscv mailing list