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

From: Herbert Xu
Date: Thu Aug 12 2021 - 07:31:17 EST


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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt