nfc: trf7970a: mark OF related data as maybe unused
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 11 Mar 2023 11:13:28 +0000 (12:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2023 08:03:54 +0000 (08:03 +0000)
commita52ed50a04de179cc866c18bdd1b9a2f59d6bdfc
tree846c5e36bc18684a642d1a5d08032f1c0dfaed6d
parent7e9aa8cad0844b85a6877cd072c95ac2844eb666
nfc: trf7970a: mark OF related data as maybe unused

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  drivers/nfc/trf7970a.c:2232:34: error: ‘trf7970a_of_match’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/trf7970a.c