diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 08:16:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 08:16:25 +0800 |
commit | 6960736c01732ad952aa6c513976fa0b95166873 (patch) | |
tree | 51aedb3c418934b32b556ccee6b6b1dd0c15e89f /drivers/staging/lustre/lnet/selftest/module.c | |
parent | 305ec768ff192996b4dcb326c5980cd8a96fa948 (diff) | |
download | linux-6960736c01732ad952aa6c513976fa0b95166873.tar.bz2 |
staging: lustre: remove cfs_module() macro
Open code the module_init/module_exit lines, and also use
MODULE_VERSION, as it seems that was intended, but just never hooked up
at all.
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/module.c')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/module.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/module.c b/drivers/staging/lustre/lnet/selftest/module.c index 5257e5630a0e..6dd4309dc5ea 100644 --- a/drivers/staging/lustre/lnet/selftest/module.c +++ b/drivers/staging/lustre/lnet/selftest/module.c @@ -165,5 +165,7 @@ error: MODULE_DESCRIPTION("LNet Selftest"); MODULE_LICENSE("GPL"); +MODULE_VERSION("0.9.0"); -cfs_module(lnet, "0.9.0", lnet_selftest_init, lnet_selftest_fini); +module_init(lnet_selftest_init); +module_exit(lnet_selftest_fini); |