fdt: Explicitly mark fdt_slicer as dependent on geom_flashmap

Without this dependency relationship, the linker doesn't find the
flash_register_slicer() function, so kldload fails to load fdt_slicer.ko.

Discussed with:	ian@
This commit is contained in:
Justin Hibbits 2019-03-17 04:33:17 +00:00
parent 1d3a067e85
commit e5657ef4cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345239

View File

@ -182,4 +182,5 @@ static moduledata_t fdt_slicer_mod = {
};
DECLARE_MODULE(fdt_slicer, fdt_slicer_mod, SI_SUB_DRIVERS, SI_ORDER_SECOND);
MODULE_DEPEND(fdt_slicer, g_flashmap, 0, 0, 0);
MODULE_VERSION(fdt_slicer, 1);