Date: Sat, 22 Apr 2023 08:30:39 GMT From: Vladimir Kondratyev <wulf@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b14c03f808c4 - main - LinuxKPI: define acpi_put_table() in <acpi/acpi.h> Message-ID: <202304220830.33M8Uduo023810@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=b14c03f808c415248ae7ec0f0476176ad521d67b commit b14c03f808c415248ae7ec0f0476176ad521d67b Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2023-04-22 08:29:29 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2023-04-22 08:29:29 +0000 LinuxKPI: define acpi_put_table() in <acpi/acpi.h> FreeBSD ACPICA calls it AcpiPutTable() Required by: drm-kmod 5.15-lts Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D39551 --- sys/compat/linuxkpi/common/include/acpi/acpi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/acpi/acpi.h b/sys/compat/linuxkpi/common/include/acpi/acpi.h index e996301e27f0..4e187574c82d 100644 --- a/sys/compat/linuxkpi/common/include/acpi/acpi.h +++ b/sys/compat/linuxkpi/common/include/acpi/acpi.h @@ -97,4 +97,10 @@ acpi_get_table(ACPI_STRING Signature, UINT32 Instance, return (AcpiGetTable(Signature, Instance, OutTable)); } +static inline void +acpi_put_table(ACPI_TABLE_HEADER *Table) +{ + AcpiPutTable(Table); +} + #endif /* _LINUXKPI_ACPI_ACPI_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304220830.33M8Uduo023810>