summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/qm.c
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2020-04-23 04:22:36 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-04-30 07:19:33 +0200
commitd0f6223c0dc5196ef684657f6b77d4fa5fca2020 (patch)
tree6acae64129348a0596cd4496b9d3e76a87f9988b /drivers/crypto/hisilicon/qm.c
parenthwrng: optee - Use UUID API for exporting the UUID (diff)
downloadlinux-d0f6223c0dc5196ef684657f6b77d4fa5fca2020.tar.xz
linux-d0f6223c0dc5196ef684657f6b77d4fa5fca2020.zip
crypto: hisilicon/qm - Make qm_controller_reset() static
Fix the following sparse warning: drivers/crypto/hisilicon/qm.c:3079:5: warning: symbol 'qm_controller_reset' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/hisilicon/qm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c
index 80c552523ac4..69d02cb40e4b 100644
--- a/drivers/crypto/hisilicon/qm.c
+++ b/drivers/crypto/hisilicon/qm.c
@@ -3076,7 +3076,7 @@ static int qm_controller_reset_done(struct hisi_qm *qm)
return 0;
}
-int qm_controller_reset(struct hisi_qm *qm)
+static int qm_controller_reset(struct hisi_qm *qm)
{
struct pci_dev *pdev = qm->pdev;
int ret;