summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-03 16:01:17 +0300
committerSimon Glass <sjg@chromium.org>2021-03-22 09:23:27 +0300
commitc4085d733bd22cc77815283f72fda56240e76a45 (patch)
treed353c680bf470388c31374b020bf25806b6cc71f /drivers/rtc
parent23f40a3abfab9540f91bff966a33a232b56247e2 (diff)
downloadu-boot-c4085d733bd22cc77815283f72fda56240e76a45.tar.xz
sandbox: i2c: Rename driver names to work with of-platdata
Some of these do not follow the rules. Make sure the driver name matches the compatible string in all cases. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/i2c_rtc_emul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/i2c_rtc_emul.c b/drivers/rtc/i2c_rtc_emul.c
index f25b976e54..fdc885c518 100644
--- a/drivers/rtc/i2c_rtc_emul.c
+++ b/drivers/rtc/i2c_rtc_emul.c
@@ -223,7 +223,7 @@ static int sandbox_i2c_rtc_bind(struct udevice *dev)
}
static const struct udevice_id sandbox_i2c_rtc_ids[] = {
- { .compatible = "sandbox,i2c-rtc" },
+ { .compatible = "sandbox,i2c-rtc-emul" },
{ }
};