summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-03 09:23:21 -0400
committerTom Rini <trini@konsulko.com>2023-05-03 09:23:21 -0400
commit1807c0c70a73c7697f32c04cad20ea9cd11b248e (patch)
tree258d2fa7d274ed5048640ceef121841d49494784 /drivers/extcon/extcon-uclass.c
parent021e303492ccfdf58425bedb13c1621367cc5cc7 (diff)
parent8144210e750d42941eb8028fdfc4e027ef043d8f (diff)
Merge branch '2023-05-02-assorted-platform-updates-and-additions'
- Updates for starqltechn and other qualcomm platforms, hi3798mv200, Broadcom Northstar, and mediatek platforms - Drop omap5_uevm, and assorted TI platform updates - Add MAX14526
Diffstat (limited to 'drivers/extcon/extcon-uclass.c')
-rw-r--r--drivers/extcon/extcon-uclass.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-uclass.c b/drivers/extcon/extcon-uclass.c
new file mode 100644
index 00000000000..9dd22b57626
--- /dev/null
+++ b/drivers/extcon/extcon-uclass.c
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2023 Svyatoslav Ryhel <clamor95@gmail.com>
+ */
+
+#define LOG_CATEGORY UCLASS_EXTCON
+
+#include <common.h>
+#include <extcon.h>
+#include <dm.h>
+
+UCLASS_DRIVER(extcon) = {
+ .id = UCLASS_EXTCON,
+ .name = "extcon",
+ .per_device_plat_auto = sizeof(struct extcon_uc_plat),
+};