mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Add MODULE_DEPEND() to geom_part modules.
MFC after: 2 weeks
This commit is contained in:
parent
b26a09848a
commit
5284aff594
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233000
|
@ -146,6 +146,7 @@ static struct g_class g_part_class = {
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_GEOM_CLASS(g_part_class, g_part);
|
DECLARE_GEOM_CLASS(g_part_class, g_part);
|
||||||
|
MODULE_VERSION(g_part, 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Support functions.
|
* Support functions.
|
||||||
|
|
|
@ -208,6 +208,7 @@ int g_part_modevent(module_t, int, struct g_part_scheme *);
|
||||||
name##_modevent, \
|
name##_modevent, \
|
||||||
&name##_scheme \
|
&name##_scheme \
|
||||||
}; \
|
}; \
|
||||||
DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_ANY)
|
DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_ANY); \
|
||||||
|
MODULE_DEPEND(name, g_part, 0, 0, 0)
|
||||||
|
|
||||||
#endif /* !_GEOM_PART_H_ */
|
#endif /* !_GEOM_PART_H_ */
|
||||||
|
|
Loading…
Reference in a new issue