aboutsummaryrefslogtreecommitdiff
path: root/drivers/sysreset
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/sysreset
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/sysreset')
-rw-r--r--drivers/sysreset/sysreset_x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sysreset/sysreset_x86.c b/drivers/sysreset/sysreset_x86.c
index bc91143..7682ffb 100644
--- a/drivers/sysreset/sysreset_x86.c
+++ b/drivers/sysreset/sysreset_x86.c
@@ -148,8 +148,8 @@ static struct sysreset_ops x86_sysreset_ops = {
.get_last = x86_sysreset_get_last,
};
-U_BOOT_DRIVER(x86_sysreset) = {
- .name = "x86-sysreset",
+U_BOOT_DRIVER(x86_reset) = {
+ .name = "x86_reset",
.id = UCLASS_SYSRESET,
.of_match = x86_sysreset_ids,
.ops = &x86_sysreset_ops,