From nobody Thu Aug 18 09:10:16 2022 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 4M7fHD2gSdz4YwpL; Thu, 18 Aug 2022 09:10:16 +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 4M7fHD21bHz3QG0; Thu, 18 Aug 2022 09:10:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813816; 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=0Kbm8GGqN/XJ8RjIzj8ABA6Qp4LQBM/lrxHhN+0wmzM=; b=eOaoCETbE7d2Iv9ZABikctDJfLZ0alHIa0lcEP7EqN6hYf6OUP97VqRb3gdpWso+oZqVym xLhMcts/uhArnOaf/atzscfEhU5L+4bTLFMLYpLn7DkEwT4BpXsThSODqBP+LZiNT8QkEZ wtnjoFeUM2d1q7z0ZQDEc0a6MH4OxelHIgnN5DkGCbli9uZC84iscvg+dELs3IBavW9Uat B/h6+4KMlKQgtD/ycJlv150DTQ4cPoLBnZ3BdmsAH4ymyhP3dW03urhPSHIHvFSfdr/vGh VafjGfMsvZF72Lb/gAUKEwM3u3Ksq4grtkVO+5MwBmA48Wrl5HvGpybdvbSppA== 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 4M7fHD17XRz1Mkn; Thu, 18 Aug 2022 09:10:16 +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 27I9AGjL020407; Thu, 18 Aug 2022 09:10:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27I9AGhF020404; Thu, 18 Aug 2022 09:10:16 GMT (envelope-from git) Date: Thu, 18 Aug 2022 09:10:16 GMT Message-Id: <202208180910.27I9AGhF020404@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: afe53d7f7a9c - main - linuxkpi: acpi/video.h: Add stubs acpi_video_{register,unregister} 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: afe53d7f7a9cf09c7443a979ac46f463c8f1cb17 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813816; 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=0Kbm8GGqN/XJ8RjIzj8ABA6Qp4LQBM/lrxHhN+0wmzM=; b=Tl6/c0du1hsQAxgj3E7brcnZX2GThdDqQomQyX+gkMyc+QbAOFBibNYub9U2JwvrLfSJpE 9OIorH59wfCV6HRFZmUpUngHSsHx3CQCP2Z3ELHkdIu5KZudYIZjBH+E6T07ExAhxuYPt8 diWd8bTZF+pG047DA+PDPormgtP3xK6Qbrvrjsh72c4T8zqujMJJTXNn4DPqTNQN7TJKMg LH+k95gwyzb1hRB+zXS+g7QYR9wIFVvlhPQSf62+AEtpjN5iy68YYX9g+J/xhNIz/GPMEs 1v/EMsiMkcSG4WwFql6sG76ZNorGoSLRriU+dK8CFtkpLUGm0/Dapf4sMGKd2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660813816; a=rsa-sha256; cv=none; b=tiBuh1VVuIf7BgYRz9z1TGaM3dLnaxHvIt4pOjg7EBp+Sah9C7eN2Gz13u3NGv63fVlKan 7l4zW2qWFvFIk2dxi0vmqwEhabPJhgoiLqIdysKo0/InkjM16s2jbsb6QviS2EDRlwMH0R MsuGwzYH7cihnuzZ+zD9A7+6NHWNmabqeBlKRAn0o9GBR2Bo4Fgn8Lf0PCByY4ZFAl+S5c eeRUqNVk4G+YjwyR9Ao2A6wgDZPUxy0Bl1IjogF+cZJsU1V2AOWqzqOEuLq5Wt2naKg/B0 /NLDyNFlt6C2RDuMW00wpUXXXC5KYPsFV8Gi/LWnm6elhp2XBHgynniOc7pqdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=afe53d7f7a9cf09c7443a979ac46f463c8f1cb17 commit afe53d7f7a9cf09c7443a979ac46f463c8f1cb17 Author: Emmanuel Vadot AuthorDate: 2022-08-09 09:38:13 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-18 07:47:07 +0000 linuxkpi: acpi/video.h: Add stubs acpi_video_{register,unregister} Needed by i915. Reviewed by: bz Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36102 --- sys/compat/linuxkpi/common/include/acpi/video.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/acpi/video.h b/sys/compat/linuxkpi/common/include/acpi/video.h index 63f876e78b57..df1844502ba8 100644 --- a/sys/compat/linuxkpi/common/include/acpi/video.h +++ b/sys/compat/linuxkpi/common/include/acpi/video.h @@ -35,4 +35,16 @@ #define ACPI_VIDEO_NOTIFY_PROBE 0x81 +static inline int +acpi_video_register(void) +{ + + return (-ENODEV); +} + +static inline void +acpi_video_unregister(void) +{ +} + #endif /* _LINUXKPI_ACPI_VIDEO_H_ */