From nobody Thu Feb 16 11:56:36 2023 X-Original-To: dev-commits-src-branches@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 4PHYM86MdVz3q5bC; Thu, 16 Feb 2023 11:56:36 +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 4PHYM83wgVz4BKd; Thu, 16 Feb 2023 11:56:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548596; 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=McTVBSpGNf7qgDT4Xiyy63s2U6jhvCPKU3xhc+vS9Gs=; b=IsPxRYcRfKMGXfxJ9z3Lbo+yTytcqxHl73Hapa+U9bN1CUDp4a6WkkFPNeQaPNagXszSVv cX860WXLwKoJ5BN+wgzlnnO4BMgMomkJ7qf8CTgW2MouYTSRMSzAssnxn9mBDw8DwQu0Dq zVXXEGW6OOCcZ/Z8shltZ/MCx7niFdctvOZx7J1h0XpL0V5P/q5Omr5AifcSDM5n6oIRxy vwvU4mnxPHG1hPp4c1Tj+gVWdIPFj1BB3/nvbZzjXpvtQ8fjZ3eP44J/5DJCu6UoticiJd n+dxGXTdoAu2HfOzFHZfiOcQBYnKopicl8tnCyo6+ePo5UNQJQxWKCLxsVfq8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548596; 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=McTVBSpGNf7qgDT4Xiyy63s2U6jhvCPKU3xhc+vS9Gs=; b=JemUjpxiwo7gmQaoTjp7138D04m2+NdEJfgPCuMlzqG7Jd5/oFNUdjdB/kTWqDN/s3v4hs 7wWYy/itchFnQwLmt8vqive3b9P5sduqIbni+8NAYTdvxYcsjwak9yC0EyeuJ/1opn6e37 LPFw5KP35LTlNKQ17w9ypJ1Z66fUQDjYmkbrsMazEcLhs+BpOY2mptg5U/xwbSXaZDYxyl t8i3mEIensqdZRiek5jegLHndiby+mbqsyWtz1w3tmAVMVlUL2RIt1B9uo234UJPSxyULn l/LG9WYuUpURCH/jt8siU5+lAVWytzyiGHYcoUkDGL7CISHW7qY8bB8Wj40kBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548596; a=rsa-sha256; cv=none; b=n7dgiOAwsiiozLdvjPXLPPh2uX6cHqEq/FDWczImwQ8mhgFpX+LiHUF2ELHKJOnM9MWTuA aar6ZdLpsNILB6ynlT1ZVCL0GeMJZTZKQvAPUgYWB4dTj64H1/UYJf6il+/AskAfn/UlUw habaQDqhXGnRBthHz5ZHjmIWPo8HOYbfmkM8y3t99hQruYqY3uusvjq0vsWVCFfwKQtZwp uwwRxNgeBBUHvyQSpRz+sgqdWmHjRyfOBRYStOXxwC3oJI1o2Ly+hirMu3YXF98CRFGQYc a2HQ2YvNoI1cf8kkxgPaheBG8vL0S510F/tl1Hfxzr3s3Uoy458+1gP3blf0IQ== 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 4PHYM831kjz12fb; Thu, 16 Feb 2023 11:56:36 +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 31GBuah9056428; Thu, 16 Feb 2023 11:56:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBuauj056427; Thu, 16 Feb 2023 11:56:36 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:56:36 GMT Message-Id: <202302161156.31GBuauj056427@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 3a8e16e47b41 - stable/13 - linuxkpi: Declare `struct fwnode_handle` in List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 3a8e16e47b41b27c8ccf4a3dc66656d9b19fa764 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=3a8e16e47b41b27c8ccf4a3dc66656d9b19fa764 commit 3a8e16e47b41b27c8ccf4a3dc66656d9b19fa764 Author: Jean-Sébastien Pédron AuthorDate: 2023-02-13 20:51:00 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:21 +0000 linuxkpi: Declare `struct fwnode_handle` in Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38566 (cherry picked from commit 7d03acf065ed96fd04a54bf8e1c83a032ffed097) --- 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 01a1729830c4..d91c14bd87b7 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_ */