From: Simon Glass Date: Thu, 31 Dec 2020 16:52:14 +0000 (-0700) Subject: tpm: cr50: Rename driver to work with of-platdata X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3039fc7e964c75aba700538881b8b107c6e8792b;p=u-boot.git tpm: cr50: Rename driver to work with of-platdata Update the driver name to match the compatible string, so it can work with of-platdata. Signed-off-by: Simon Glass --- diff --git a/drivers/tpm/cr50_i2c.c b/drivers/tpm/cr50_i2c.c index 8b79240963..b103a6fdc3 100644 --- a/drivers/tpm/cr50_i2c.c +++ b/drivers/tpm/cr50_i2c.c @@ -742,8 +742,8 @@ static const struct udevice_id cr50_i2c_ids[] = { { } }; -U_BOOT_DRIVER(cr50_i2c) = { - .name = "cr50_i2c", +U_BOOT_DRIVER(google_cr50) = { + .name = "google_cr50", .id = UCLASS_TPM, .of_match = cr50_i2c_ids, .ops = &cr50_i2c_ops,