From nobody Tue Feb 14 22:06:34 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PGZzt6cqgz3q452; Tue, 14 Feb 2023 22:06:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGZzt6BNrz4Dmk; Tue, 14 Feb 2023 22:06:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676412394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SlUtMmGnJPoKhg7NXJHbwkZANEXJlLxyKLOm+7UVHXM=; b=vygpMQDgCaWIbs/0hVT3CjNN3mIHwwS1ssrGrkeYpoyoV1+5nlELebREvnq2KDJ5f2AsMn B4/NRUgCxt3G1ZLPKtrWzHjzeIS/2mFSPRSJHe8n3PHibnJaO76mGvaYHt2RimCQfmNqRa ubgzXDJguGxNZoed3Om4y4FXqtC7GB8jt7LDw09MseFPY5E8Cm+W/GYplCVQBG7g54DC0I SQiLglznBgwnSSLTGPVywHl+KooeZ3jOvB3SL7cAAt2B4u3cYVK1CSXNGZ9Y+jdiroSr1F dbyjpfoaIqqLc8znSsbLQqaQ9C41O5Npwly43X3DVQeToK9zXehib/WCGrJo8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676412394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SlUtMmGnJPoKhg7NXJHbwkZANEXJlLxyKLOm+7UVHXM=; b=HE95wZMyNCuS2M8P4LwPLHBPsaJgAvjaiFMRFJukVrYMyYUa5TtblUhIuHX8GGiel8oP9b UuHs/FFnSS8PblYScuV2FDRtBTmAknV7ntgBT4F79eflMu9I9vxX9O0IFzWU6auD4Odqi0 LOE0+Vtj/LgfLP+t1H0wW//wq8DWodK1G1qGQJYdj9KBON5CGyT3xEJyMa7LD595XilYFU U8XCbYkhTLWAGIQa8GRYqDbkum8n3Jju934dgjaMXL/q7lzJE7zJjntP3XKML4SUJEzFLC oM1rYn0Ubx8qsno9IQUEGiwIS2Kr7bA+waHcnzPXn05Wq1KDb8jfpskAPxqhZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676412394; a=rsa-sha256; cv=none; b=IfY9iLcETLeSA/UAf7kCRmddFfIbeq+/txEIAPDEJNaV2kohQyrx3EzqzW4w1w8GdpkQVV KvxTxgGlcrsqaMxaEUSJduEes1YbpfO33pLwoWxRDMV/5BsieaNK2pbbI2vjRrzv4Mfdws s+pKi09UGHgT5M8GVSd1gb4pzYFGIg6PXdpK7yAWUTdUzA9ub4JQsHvfZLzWH8N+JEzWOq Q2GU6M3sLIXRPqvKEIU3TID9yb5LyScMV1R3NhV+vFReHiCy/QfNKtJtzu6RIHoFhHSwGc SH3bZh+92ZLwhHV70TE5pQfxVcG9WM2CpTH8S0BTNfngAMUrwRj2TJoO8A2sKw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PGZzt5GNbz1F3Z; Tue, 14 Feb 2023 22:06:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31EM6YYt004114; Tue, 14 Feb 2023 22:06:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31EM6Yi5004113; Tue, 14 Feb 2023 22:06:34 GMT (envelope-from git) Date: Tue, 14 Feb 2023 22:06:34 GMT Message-Id: <202302142206.31EM6Yi5004113@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 7d03acf065ed - main - linuxkpi: Declare `struct fwnode_handle` in List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d03acf065ed96fd04a54bf8e1c83a032ffed097 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=7d03acf065ed96fd04a54bf8e1c83a032ffed097 commit 7d03acf065ed96fd04a54bf8e1c83a032ffed097 Author: Jean-Sébastien Pédron AuthorDate: 2023-02-13 20:51:00 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-14 22:01:06 +0000 linuxkpi: Declare `struct fwnode_handle` in Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38566 --- sys/compat/linuxkpi/common/include/linux/device.h | 2 +- sys/compat/linuxkpi/common/include/linux/fwnode.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h index 32dc7a30769c..18f2eef895c0 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -48,13 +48,13 @@ #include #include #include /* via linux/dev_printk.h */ +#include #include #include #include struct device; -struct fwnode_handle; struct class { const char *name; diff --git a/sys/compat/linuxkpi/common/include/linux/fwnode.h b/sys/compat/linuxkpi/common/include/linux/fwnode.h new file mode 100644 index 000000000000..a1fbc1b6d6a3 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/fwnode.h @@ -0,0 +1,10 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_LINUX_FWNODE_H_ +#define _LINUXKPI_LINUX_FWNODE_H_ + +struct fwnode_handle { + struct fwnode_handle *secondary; +}; + +#endif /* _LINUXKPI_LINUX_FWNODE_H_ */