Skip to content
Commit 3fb29a23 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jarkko Sakkinen
Browse files

tpm: tpm_tis_spi: Mark ACPI and OF related data as maybe unused



The driver can be compile tested with !CONFIG_OF or !CONFIG_ACPI making
unused:

  drivers/char/tpm/tpm_tis_spi_main.c:234:34: error: ‘of_tis_spi_match’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent c3985d8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment