Messages in this thread | | | Date | Thu, 12 Aug 2021 19:31:09 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 3/5] crypto: hisilicon - support runtime PM for accelerator device |
| |
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@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |