aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-05 05:27:01 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-11-05 14:58:45 +0800
commit9d20db0483d54b507472fc33ee0c8a71d6c71c85 (patch)
tree9c45e23b00bab3f7ce06631fc072583e761da19f /drivers/rtc
parented0f868d501ee2bc31391210c214e9d07ae0874b (diff)
downloadu-boot-9d20db0483d54b507472fc33ee0c8a71d6c71c85.zip
u-boot-9d20db0483d54b507472fc33ee0c8a71d6c71c85.tar.gz
u-boot-9d20db0483d54b507472fc33ee0c8a71d6c71c85.tar.bz2
x86: Fix up driver names to avoid dtoc warnings
At present there are a lot of dtoc warnings reported when building chromebook_coral, of the form: WARNING: the driver intel_apl_lpc was not found in the driver list Correct these by using driver names that matches their compatible string. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/mc146818.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c
index b98c39d..71f96e2 100644
--- a/drivers/rtc/mc146818.c
+++ b/drivers/rtc/mc146818.c
@@ -246,8 +246,8 @@ static const struct udevice_id rtc_mc146818_ids[] = {
{ }
};
-U_BOOT_DRIVER(rtc_mc146818) = {
- .name = "rtc_mc146818",
+U_BOOT_DRIVER(motorola_mc146818) = {
+ .name = "motorola_mc146818",
.id = UCLASS_RTC,
.of_match = rtc_mc146818_ids,
.probe = rtc_mc146818_probe,