forked from luck/tmp_suning_uos_patched
rtl8192u: don't play with reassigning ->proc_fops, just use proc_create()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
895b5599ba
commit
5a787a6820
@ -108,9 +108,5 @@ static 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;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user