git: f6fb9b524ff9 - main - LinuxKPI: add MODULE_IMPORT_NS()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Feb 2022 20:00:15 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f6fb9b524ff91a6049d2e0bf713f4fc5760148b6 commit f6fb9b524ff91a6049d2e0bf713f4fc5760148b6 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2022-02-22 22:45:50 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2022-02-24 19:59:25 +0000 LinuxKPI: add MODULE_IMPORT_NS() Add dummy MODULE_IMPORT_NS() used by an updated iwlwifi. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34349 --- 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 188e277fecf9..ac7dfc07e468 100644 --- a/sys/compat/linuxkpi/common/include/linux/module.h +++ b/sys/compat/linuxkpi/common/include/linux/module.h @@ -52,6 +52,7 @@ #define MODULE_INFO(tag, info) #define MODULE_FIRMWARE(firmware) #define MODULE_SUPPORTED_DEVICE(name) +#define MODULE_IMPORT_NS(_name) #define THIS_MODULE ((struct module *)0)