commit | 5010edd1d5b616d397288d4906b30fb53acfe22c | [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 | 7a2cf2e33cf1989cd226bc82388baa6abc06f8ea [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>