Add MODULE_DEPEND() to geom_part modules.
MFC after: 2 weeks
This commit is contained in:
parent
b26a09848a
commit
5284aff594
@ -146,6 +146,7 @@ static struct g_class g_part_class = {
|
||||
};
|
||||
|
||||
DECLARE_GEOM_CLASS(g_part_class, g_part);
|
||||
MODULE_VERSION(g_part, 0);
|
||||
|
||||
/*
|
||||
* Support functions.
|
||||
|
@ -208,6 +208,7 @@ int g_part_modevent(module_t, int, struct g_part_scheme *);
|
||||
name##_modevent, \
|
||||
&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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user