nfc: mrvl: mark OF device ID tables as maybe unused
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 28 May 2021 12:41:53 +0000 (08:41 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 May 2021 22:05:55 +0000 (15:05 -0700)
commit26f20ff5e207ed87340fc574cb3b360a2581272c
treefe36e369b78c103c02ca60ac116e51864b973d93
parenta70bbbe387d0944975d5016f1ba3be1e6b4c3971
nfc: mrvl: mark OF device ID tables as maybe unused

The driver can match either via OF or I2C ID tables.  If OF is disabled,
the table will be unused:

    drivers/nfc/nfcmrvl/spi.c:199:34: warning:
        ‘of_nfcmrvl_spi_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210528124200.79655-5-krzysztof.kozlowski@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/nfcmrvl/i2c.c
drivers/nfc/nfcmrvl/spi.c