From ed0f868d501ee2bc31391210c214e9d07ae0874b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 5 Oct 2020 05:27:00 -0600 Subject: cros_ec: Fix up driver names to avoid dtoc warnings Fix the dtoc warning in these file by using a driver name that matches the compatible string. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- drivers/misc/cros_ec_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/misc/cros_ec_i2c.c') diff --git a/drivers/misc/cros_ec_i2c.c b/drivers/misc/cros_ec_i2c.c index c00f5f764a..664bd2b938 100644 --- a/drivers/misc/cros_ec_i2c.c +++ b/drivers/misc/cros_ec_i2c.c @@ -231,8 +231,8 @@ static const struct udevice_id cros_ec_ids[] = { { } }; -U_BOOT_DRIVER(cros_ec_i2c) = { - .name = "cros_ec_i2c", +U_BOOT_DRIVER(google_cros_ec_i2c) = { + .name = "google_cros_ec_i2c", .id = UCLASS_CROS_EC, .of_match = cros_ec_ids, .probe = cros_ec_probe, -- cgit v1.2.3