The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=afe53d7f7a9cf09c7443a979ac46f463c8f1cb17
commit afe53d7f7a9cf09c7443a979ac46f463c8f1cb17 Author: Emmanuel Vadot <m...@freebsd.org> AuthorDate: 2022-08-09 09:38:13 +0000 Commit: Emmanuel Vadot <m...@freebsd.org> 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_ */