# Re: \[PATCH 3/5\] crypto: hisilicon - support runtime PM for accelerator device

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2021-08-12 11:31:18 
- List: linux-crypto
- Page: https://ratatoskr.run/linux-crypto/2021/08/1476002
- Thread: https://ratatoskr.run/linux-crypto/2021/08/1470858/t.md

```text
On Sat, Aug 07, 2021 at 06:32:34PM +0800, Weili Qian wrote:
>
> @@ -1083,6 +1105,10 @@ static void hpre_remove(struct pci_dev *pdev)
>  	hisi_qm_uninit(qm);
>  }
>  
> +const struct dev_pm_ops hpre_pm_ops = {
> +	SET_RUNTIME_PM_OPS(hisi_qm_suspend, hisi_qm_resume, NULL)
> +};
> +

This causes a warning as it should be static.

Thanks,
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
