diff options
author | Zhou Wang <wangzhou1@hisilicon.com> | 2019-08-14 12:28:38 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-15 14:52:13 +0300 |
commit | 902f0babf5457578f6bfb9b6ac952c55c4482cb7 (patch) | |
tree | 9b4909580ad578caf9b5ee81aa124061055f826f /drivers | |
parent | 5c0861989cc197c29433915774f805299a497977 (diff) | |
download | linux-902f0babf5457578f6bfb9b6ac952c55c4482cb7.tar.xz |
crypto: hisilicon - add missing single_release
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/hisilicon/qm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 796fdbfacb19..d72e062a3619 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -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) |