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

From: AngeloGioacchino Del Regno
Date: Mon Mar 13 2023 - 04:47:34 EST


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@xxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>