From: Tom Rini Date: Wed, 8 Jul 2020 20:22:02 -0400 Subject: [PATCH 1/2] tpm: add #ifndef to fix redeclaration build errors In-Reply-To: <1589203346-3857-1-git-send-email-johannes.holland@infineon.com> References: <1589203346-3857-1-git-send-email-johannes.holland@infineon.com> Message-ID: <20200709002202.GT1306@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: