0
0
mirror of https://github.com/u-boot/u-boot.git synced 2025-01-19 01:03:27 +08:00

x86: acpi_gpe: Update driver name to match devicetree

Use a driver name in line with the compatible string so that of-platdata
can use this driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass 2021-01-24 10:06:02 -07:00 committed by Bin Meng
parent 8a655272d7
commit 6754393d26

View File

@ -4,6 +4,8 @@
* Written by Simon Glass <sjg@chromium.org> * Written by Simon Glass <sjg@chromium.org>
*/ */
#define LOG_CATEGORY UCLASS_IRQ
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <irq.h> #include <irq.h>
@ -102,8 +104,8 @@ static const struct udevice_id acpi_gpe_ids[] = {
{ } { }
}; };
U_BOOT_DRIVER(acpi_gpe_drv) = { U_BOOT_DRIVER(intel_acpi_gpe) = {
.name = "acpi_gpe", .name = "intel_acpi_gpe",
.id = UCLASS_IRQ, .id = UCLASS_IRQ,
.of_match = acpi_gpe_ids, .of_match = acpi_gpe_ids,
.ops = &acpi_gpe_ops, .ops = &acpi_gpe_ops,