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>
This commit is contained in:
Zou Wei 2020-04-23 10:22:36 +08:00 committed by Herbert Xu
parent 1c8414dadb
commit d0f6223c0d
1 changed files with 1 additions and 1 deletions

View File

@ -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;