summaryrefslogtreecommitdiff
path: root/src/drivers/crb
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2024-04-24 13:59:43 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-08-06 17:14:06 +0000
commit0c6d48f3ee6f58c83f63053a8c0e60003f52ef2c (patch)
tree5bdf98439847c027699123f377f615036578048a /src/drivers/crb
parenta25f310830b34aad29db712ab90b0d2c15ecbb2b (diff)
drivers/{crb,pc80/tpm}: Drop conflicting tpm_config_t typedef
When both CRB and pc80 TPM drivers are compiled in, building fails because the tpm_config_t typedef has two incompatible definitions. Given that typedefs are discouraged by the project's coding style, simply get rid of the tpm_config_t typedef. TEST=Compile MSI PRO Z690-A target with CRB and PC80 TPM chips enabled in devicetree. Change-Id: Id41717e265362303a17745303a907c9c8f4f4e12 Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82057 Reviewed-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/crb')
-rw-r--r--src/drivers/crb/chip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/crb/chip.h b/src/drivers/crb/chip.h
index f0e471fd48..ac7ea96982 100644
--- a/src/drivers/crb/chip.h
+++ b/src/drivers/crb/chip.h
@@ -3,7 +3,7 @@
#ifndef DRIVERS_CRB_CHIP_H
#define DRIVERS_CRB_CHIP_H
-typedef struct drivers_crb_config {
-} tpm_config_t;
+struct drivers_crb_config {
+};
#endif /* DRIVERS_CRB_CHIP_H */