Commit 1c9962b4 authored by Li Zefan's avatar Li Zefan Committed by Greg Kroah-Hartman

Staging: rtl8192e: add missing single_release()

The debug file is opened with single_open(), but there's no
single_release().
Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9b9b351
...@@ -233,7 +233,8 @@ static const struct file_operations fops = { ...@@ -233,7 +233,8 @@ static const struct file_operations fops = {
.open = open_debug_level, .open = open_debug_level,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.write = write_debug_level .write = write_debug_level,
.release = single_release,
}; };
int __init rtllib_init(void) int __init rtllib_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment