projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3925e6f
)
[CRYPTO] api: Switch to proc_create()
author
Alexey Dobriyan
<adobriyan@sw.ru>
Wed, 5 Mar 2008 11:27:51 +0000
(19:27 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 21 Apr 2008 02:15:56 +0000
(10:15 +0800)
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/proc.c
patch
|
blob
|
history
diff --git
a/crypto/proc.c
b/crypto/proc.c
index
3d73323
..
e482ab6
100644
(file)
--- a/
crypto/proc.c
+++ b/
crypto/proc.c
@@
-99,11
+99,7
@@
static const struct file_operations proc_crypto_ops = {
void __init crypto_init_proc(void)
{
- struct proc_dir_entry *proc;
-
- proc = create_proc_entry("crypto", 0, NULL);
- if (proc)
- proc->proc_fops = &proc_crypto_ops;
+ proc_create("crypto", 0, NULL, &proc_crypto_ops);
}
void __exit crypto_exit_proc(void)