[PATCH 1/2] tpm: add #ifndef to fix redeclaration build errors

Tom Rini trini at konsulko.com
Thu Jul 9 02:22:02 CEST 2020

On Mon, May 11, 2020 at 03:22:25PM +0200, Johannes Holland wrote:

> 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 at infineon.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200708/99b027f4/attachment.sig>

More information about the U-Boot mailing list