crypto: hisilicon - add missing single_release
authorZhou Wang <wangzhou1@hisilicon.com>
Wed, 14 Aug 2019 09:28:38 +0000 (17:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Aug 2019 11:52:13 +0000 (21:52 +1000)
Fix to add missing single_release in qm_regs_fops.

Fixes: 263c9959c937 ("crypto: hisilicon - add queue management driver for HiSilicon QM module")
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c

index 796fdbf..d72e062 100644 (file)
@@ -958,6 +958,7 @@ static const struct file_operations qm_regs_fops = {
        .owner = THIS_MODULE,
        .open = qm_regs_open,
        .read = seq_read,
+       .release = single_release,
 };
 
 static int qm_create_debugfs_file(struct hisi_qm *qm, enum qm_debug_file index)