commit | bedbb383e1bf5777386c885950f7fb0a21b0daa2 | [log] [tgz] |
---|---|---|
author | Johannes Holland <johannes.holland@infineon.com> | Mon May 11 15:22:25 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 08 17:21:46 2020 -0400 |
tree | e1ab7234fb60d613986556ac259f4f974b333c64 | |
parent | 06bea4980980c05106944b0192f24700fe479f0b [diff] |
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>