[PATCH 4/9] regulator: mt6397-regulator: Mark OF related data as maybe unused

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Mar 13 01:45:45 PDT 2023


Il 10/03/23 22:45, Krzysztof Kozlowski ha scritto:
> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
> 
>    drivers/regulator/mt6397-regulator.c:400:34: error: ‘mt6397_of_match’ defined but not used [-Werror=unused-const-variable=]
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list