diff options
author | Simon Glass <sjg@chromium.org> | 2020-10-05 05:27:01 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-05 14:58:45 +0800 |
commit | 9d20db0483d54b507472fc33ee0c8a71d6c71c85 (patch) | |
tree | 9c45e23b00bab3f7ce06631fc072583e761da19f /drivers/timer | |
parent | ed0f868d501ee2bc31391210c214e9d07ae0874b (diff) | |
download | u-boot-9d20db0483d54b507472fc33ee0c8a71d6c71c85.tar.gz |
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/timer')
-rw-r--r-- | drivers/timer/tsc_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/timer/tsc_timer.c b/drivers/timer/tsc_timer.c index abc0a1da05..e3677704b3 100644 --- a/drivers/timer/tsc_timer.c +++ b/drivers/timer/tsc_timer.c @@ -482,8 +482,8 @@ static const struct udevice_id tsc_timer_ids[] = { { } }; -U_BOOT_DRIVER(tsc_timer) = { - .name = "tsc_timer", +U_BOOT_DRIVER(x86_tsc_timer) = { + .name = "x86_tsc_timer", .id = UCLASS_TIMER, .of_match = tsc_timer_ids, .probe = tsc_timer_probe, |