summaryrefslogtreecommitdiff
path: root/arch/x86/lib/lpc-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/lpc-uclass.c')
-rw-r--r--arch/x86/lib/lpc-uclass.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/lib/lpc-uclass.c b/arch/x86/lib/lpc-uclass.c
new file mode 100644
index 00000000000..4f89db4e538
--- /dev/null
+++ b/arch/x86/lib/lpc-uclass.c
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2015 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ */
+
+#include <dm.h>
+
+UCLASS_DRIVER(lpc) = {
+ .id = UCLASS_LPC,
+ .name = "lpc",
+#if CONFIG_IS_ENABLED(OF_REAL)
+ .post_bind = dm_scan_fdt_dev,
+#endif
+};