diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2004-08-26 20:33:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-26 20:33:53 -0700 |
commit | 37440b38b2c70c41d557127436f5caa58852909d (patch) | |
tree | 3b5c0f5d4ba640eeb79ea29984f8ca1e3ebe26e8 /crypto | |
parent | 3a7d4facb567858561179e0465234f9fc4c4d327 (diff) | |
download | history-37440b38b2c70c41d557127436f5caa58852909d.tar.gz |
[PATCH] mostly remove module_parm()
MODULE_PARM() was marked obsolete. Remove it from everything except
drivers/ and arch/.
Naturally, such a widespread change may introduce bugs for some of the
non-trivial cases, and where in doubt I used "0" as permissions arg (ie.
won't appear in sysfs). Individual authors should think about whether that
would be useful.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/tcrypt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 91eb1a860f372e..5ffd3193022d48 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -24,6 +24,7 @@ #include <linux/string.h> #include <linux/crypto.h> #include <linux/highmem.h> +#include <linux/moduleparam.h> #include "tcrypt.h" /* @@ -853,7 +854,7 @@ static void __exit fini(void) { } module_init(init); module_exit(fini); -MODULE_PARM(mode, "i"); +module_param(mode, int, 0); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Quick & dirty crypto testing module"); |