Skip to content

Commit

Permalink
Staging: rtl8192e: add missing single_release()
Browse files Browse the repository at this point in the history
The debug file is opened with single_open(), but there's no
single_release().

Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
lizf-os authored and gregkh committed Aug 1, 2013
1 parent b9b9b35 commit 1c9962b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/rtl8192e/rtllib_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c9962b

Please sign in to comment.