Re: [PATCH 2/2] usb: typec: fusb302: mark OF related data as maybe unused

From: Krzysztof Kozlowski
Date: Mon Mar 13 2023 - 05:21:50 EST


On 13/03/2023 10:20, Heikki Krogerus wrote:
> On Fri, Mar 10, 2023 at 11:29:37PM +0100, Krzysztof Kozlowski wrote:
>> The driver can be compile tested with !CONFIG_OF making certain data
>> unused:
>>
>> drivers/usb/typec/tcpm/fusb302.c:1816:34: error: ‘fusb302_dt_match’ defined but not used [-Werror=unused-const-variable=]
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> Should this be marked as a fix?
>

It's a fix for compile test with W=1, so not a real issue.

Best regards,
Krzysztof