tpm: add #ifndef to fix redeclaration build errors
authorJohannes Holland <johannes.holland@infineon.com>
Mon, 11 May 2020 13:22:25 +0000 (15:22 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jul 2020 21:21:46 +0000 (17:21 -0400)
commitbedbb383e1bf5777386c885950f7fb0a21b0daa2
treee1ab7234fb60d613986556ac259f4f974b333c64
parent06bea4980980c05106944b0192f24700fe479f0b
tpm: add #ifndef to fix redeclaration build errors

tpm_tis_spi.c directly includes tpm_tis.h and tpm-v2.h which both
define the same enums (see e.g. TPM_ACCESS_VALID). Add an #ifndef to
prevent redeclaration errors.

Signed-off-by: Johannes Holland <johannes.holland@infineon.com>
drivers/tpm/tpm_tis.h