summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-efi/clocksource.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mach-efi/clocksource.c')
-rw-r--r--arch/x86/mach-efi/clocksource.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/mach-efi/clocksource.c b/arch/x86/mach-efi/clocksource.c
new file mode 100644
index 0000000000..2023fa19ac
--- /dev/null
+++ b/arch/x86/mach-efi/clocksource.c
@@ -0,0 +1,11 @@
+#include <common.h>
+#include <init.h>
+#include <driver.h>
+
+static int efi_x86_pure_init(void)
+{
+ struct device_d *dev = device_alloc("efi-cs-x86", DEVICE_ID_SINGLE);
+
+ return platform_device_register(dev);
+}
+core_initcall(efi_x86_pure_init);