]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: acpi_gpe: Update driver name to match devicetree
authorSimon Glass <sjg@chromium.org>
Sun, 24 Jan 2021 17:06:02 +0000 (10:06 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2021 07:11:41 +0000 (15:11 +0800)
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>
arch/x86/cpu/acpi_gpe.c

index 83128c33c2ca89459fa943eb9b69b2d2c8f362af..da01e71335f1cbd2df719a1b8850a369777ca7ea 100644 (file)
@@ -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,