Date: Mon, 25 Oct 2021 20:28:13 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c5eec7b57c39 - main - LinuxKPI: module.h add MODULE_SUPPORTED_DEVICE() Message-ID: <202110252028.19PKSDBB032413@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=c5eec7b57c39b1dc4a63fea115a93d8d1628ff08 commit c5eec7b57c39b1dc4a63fea115a93d8d1628ff08 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2021-10-25 16:39:56 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2021-10-25 20:26:01 +0000 LinuxKPI: module.h add MODULE_SUPPORTED_DEVICE() Add a dummy MODULE_SUPPORTED_DEVICE define as we do for other MODULE_* macros. This is needed by a wireless driver. MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D32641 --- sys/compat/linuxkpi/common/include/linux/module.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/module.h b/sys/compat/linuxkpi/common/include/linux/module.h index cd5366bc52d0..2a4fdc5a11a9 100644 --- a/sys/compat/linuxkpi/common/include/linux/module.h +++ b/sys/compat/linuxkpi/common/include/linux/module.h @@ -50,6 +50,7 @@ #define MODULE_LICENSE(name) #define MODULE_INFO(tag, info) #define MODULE_FIRMWARE(firmware) +#define MODULE_SUPPORTED_DEVICE(name) #define THIS_MODULE ((struct module *)0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110252028.19PKSDBB032413>