Staging: rtl8192e: add missing single_release()
The debug file is opened with single_open(), but there's no single_release(). Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b9b9b35176
commit
1c9962b434
|
@ -233,7 +233,8 @@ static const struct file_operations fops = {
|
|||
.open = open_debug_level,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.write = write_debug_level
|
||||
.write = write_debug_level,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
int __init rtllib_init(void)
|
||||
|
|
Loading…
Reference in New Issue