From: Li Zefan Date: Wed, 31 Jul 2013 06:29:27 +0000 (+0800) Subject: Staging: rtl8192e: add missing single_release() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c9962b434e347c4e9875b8eaf41f87665bc0162;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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)