mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-20 04:19:41 +00:00
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:
parent
1c8414dadb
commit
d0f6223c0d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user