summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/efi_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/efi_x86.c')
-rw-r--r--drivers/clocksource/efi_x86.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/clocksource/efi_x86.c b/drivers/clocksource/efi_x86.c
index 364e1ef8e1..f5a822eef7 100644
--- a/drivers/clocksource/efi_x86.c
+++ b/drivers/clocksource/efi_x86.c
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <common.h>
#include <init.h>
#include <driver.h>
#include <efi.h>
-#include <efi/efi.h>
+#include <efi/efi-payload.h>
#include <clock.h>
#ifdef __x86_64__
@@ -61,12 +62,12 @@ static struct clocksource efi_x86_cs = {
.init = efi_x86_cs_init,
};
-static int efi_x86_cs_probe(struct device_d *dev)
+static int efi_x86_cs_probe(struct device *dev)
{
return init_clock(&efi_x86_cs);
}
-static struct driver_d efi_x86_cs_driver = {
+static struct driver efi_x86_cs_driver = {
.name = "efi-cs-x86",
.probe = efi_x86_cs_probe,
};