MODULE_VERSION — set kernel module version
Contents
Description
The MODULE_VERSION() macro sets the version of the module called name. Other kernel modules can then
depend on this module (see MODULE_DEPEND(9)).
Examples
MODULE_VERSION(foo, 1);
Name
MODULE_VERSION — set kernel module version
See Also
DECLARE_MODULE(9), module(9), MODULE_DEPEND(9)
Synopsis
#include<sys/param.h>#include<sys/module.h>MODULE_VERSION(name, intversion);
