From 4a26380ba6dc487a7525d909ee29fbc710b558d1 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sat, 30 Jan 2021 17:50:26 +0000 Subject: [PATCH] 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 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);