From: Tom Rini Date: Thu, 25 Sep 2025 20:56:23 +0000 (-0600) Subject: tpm: Make U_BOOT_DRIVER entries unique X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=377bc19fd92074bd32e6b29b9133037238ca54dd;p=pandora-u-boot.git tpm: Make U_BOOT_DRIVER entries unique All instances of the U_BOOT_DRIVER must use a unique name or they will lead to link time failures due to name space conflicts when both are present. In this case the driver was reusing the tpm_tis_i2c name. Signed-off-by: Tom Rini Reviewed-by: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- diff --git a/drivers/tpm/tpm_tis_infineon.c b/drivers/tpm/tpm_tis_infineon.c index 30f23f8610a..c1e7b98295c 100644 --- a/drivers/tpm/tpm_tis_infineon.c +++ b/drivers/tpm/tpm_tis_infineon.c @@ -626,7 +626,7 @@ static const struct udevice_id tpm_tis_i2c_ids[] = { { } }; -U_BOOT_DRIVER(tpm_tis_i2c) = { +U_BOOT_DRIVER(tpm_tis_infineon) = { .name = "tpm_tis_infineon", .id = UCLASS_TPM, .of_match = tpm_tis_i2c_ids,