git: 4a26380ba6dc - main - LinuxKPI: add module dependency on firmware(9)
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Jan 30 18:03:08 UTC 2021
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=4a26380ba6dc487a7525d909ee29fbc710b558d1
commit 4a26380ba6dc487a7525d909ee29fbc710b558d1
Author: Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-01-30 17:50:26 +0000
Commit: Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-01-30 17:50:26 +0000
LinuxKPI: add module dependency on firmware(9)
In a6c2507d1baedb183268e31bc6b6f659a9529904 support for LinuxKPI
firmware loading was added. Record the dependency on firmware(9)
as otherwise (if built as module) linuxkpi will no longer load.
Reported-by: tijl
MFC after: 1 day
X-MFC-with: a6c2507d1baedb183268e31bc6b6f659a9529904
Sponsored-by: The FreeBSD Foundation
---
sys/compat/linuxkpi/common/src/linux_kmod.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/src/linux_kmod.c b/sys/compat/linuxkpi/common/src/linux_kmod.c
index b9a916da650f..7fd73f0a7f45 100644
--- a/sys/compat/linuxkpi/common/src/linux_kmod.c
+++ b/sys/compat/linuxkpi/common/src/linux_kmod.c
@@ -31,5 +31,6 @@ __FBSDID("$FreeBSD$");
#include <sys/module.h>
MODULE_VERSION(linuxkpi, 1);
+MODULE_DEPEND(linuxkpi, firmware, 1, 1, 1);
MODULE_DEPEND(linuxkpi, backlight, 1, 1, 1);
MODULE_DEPEND(linuxkpi, pci, 1, 1, 1);
More information about the dev-commits-src-main
mailing list