LinuxKPI: add module dependency on firmware(9)

In a6c2507d1b 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:	a6c2507d1b
Sponsored-by:	The FreeBSD Foundation
This commit is contained in:
Bjoern A. Zeeb 2021-01-30 17:50:26 +00:00
parent 6955737522
commit 4a26380ba6

View File

@ -31,5 +31,6 @@ __FBSDID("$FreeBSD$");
#include <sys/module.h> #include <sys/module.h>
MODULE_VERSION(linuxkpi, 1); MODULE_VERSION(linuxkpi, 1);
MODULE_DEPEND(linuxkpi, firmware, 1, 1, 1);
MODULE_DEPEND(linuxkpi, backlight, 1, 1, 1); MODULE_DEPEND(linuxkpi, backlight, 1, 1, 1);
MODULE_DEPEND(linuxkpi, pci, 1, 1, 1); MODULE_DEPEND(linuxkpi, pci, 1, 1, 1);