[PATCH 1/2] mfd: atmel-smc: Mark OF related data as maybe unused
Lee Jones
lee at kernel.org
Thu Mar 16 08:58:45 PDT 2023
On Sat, 11 Mar 2023, Krzysztof Kozlowski wrote:
> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
>
> drivers/mfd/atmel-smc.c:326:34: error: ‘atmel_smc_ids’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
> drivers/mfd/atmel-smc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list