mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-09 13:30:41 +00:00
[CRYPTO] api: Switch to proc_create()
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
3925e6fc1f
commit
607424d858
@ -99,11 +99,7 @@ static const struct file_operations proc_crypto_ops = {
|
|||||||
|
|
||||||
void __init crypto_init_proc(void)
|
void __init crypto_init_proc(void)
|
||||||
{
|
{
|
||||||
struct proc_dir_entry *proc;
|
proc_create("crypto", 0, NULL, &proc_crypto_ops);
|
||||||
|
|
||||||
proc = create_proc_entry("crypto", 0, NULL);
|
|
||||||
if (proc)
|
|
||||||
proc->proc_fops = &proc_crypto_ops;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void __exit crypto_exit_proc(void)
|
void __exit crypto_exit_proc(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user