mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 17:28:15 +00:00
5f650fa6ad
Add a new simple uclass for extcon. Currently all setup is done in the probe. Uclass struct and ops are empty for now. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
16 lines
328 B
C
16 lines
328 B
C
// 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),
|
|
};
|