summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-07-31 14:29:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-31 17:33:36 -0700
commit1c9962b434e347c4e9875b8eaf41f87665bc0162 (patch)
treeeefacc4f49089d40a675357f394ef4f1e978e68b
parentb9b9b35176316c3fc50ac50da9cf8796fbb7abd5 (diff)
downloadblackbird-op-linux-1c9962b434e347c4e9875b8eaf41f87665bc0162.tar.gz
blackbird-op-linux-1c9962b434e347c4e9875b8eaf41f87665bc0162.zip
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>
-rw-r--r--drivers/staging/rtl8192e/rtllib_module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c
index 84ea721d5d8e..51d46e04d3f5 100644
--- a/drivers/staging/rtl8192e/rtllib_module.c
+++ b/drivers/staging/rtl8192e/rtllib_module.c
@@ -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)
OpenPOWER on IntegriCloud