[PATCH 1/2] backlight: lp855x: mark OF related data as maybe unused

Daniel Thompson daniel.thompson at linaro.org
Mon Mar 13 09:48:54 UTC 2023


On Sat, Mar 11, 2023 at 06:35:55PM +0100, Krzysztof Kozlowski wrote:
> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
>
>   drivers/video/backlight/lp855x_bl.c:551:34: error: ‘lp855x_dt_ids’ defined but not used [-Werror=unused-const-variable=]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


More information about the dri-devel mailing list