summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-24 20:06:02 +0300
committerBin Meng <bmeng.cn@gmail.com>2021-02-01 10:11:41 +0300
commit6754393d260cf779a1c441a58c305a6b62e6a82d (patch)
treecd20d36a5581b9443e1e173b8541f59e5b573c5f /arch/x86
parent8a655272d7b440dc3eeda598eb2d05819c0f75c2 (diff)
downloadu-boot-6754393d260cf779a1c441a58c305a6b62e6a82d.tar.xz
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/acpi_gpe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/cpu/acpi_gpe.c b/arch/x86/cpu/acpi_gpe.c
index 83128c33c2..da01e71335 100644
--- a/arch/x86/cpu/acpi_gpe.c
+++ b/arch/x86/cpu/acpi_gpe.c
@@ -4,6 +4,8 @@
* Written by Simon Glass <sjg@chromium.org>
*/
+#define LOG_CATEGORY UCLASS_IRQ
+
#include <common.h>
#include <dm.h>
#include <irq.h>
@@ -102,8 +104,8 @@ static const struct udevice_id acpi_gpe_ids[] = {
{ }
};
-U_BOOT_DRIVER(acpi_gpe_drv) = {
- .name = "acpi_gpe",
+U_BOOT_DRIVER(intel_acpi_gpe) = {
+ .name = "intel_acpi_gpe",
.id = UCLASS_IRQ,
.of_match = acpi_gpe_ids,
.ops = &acpi_gpe_ops,