Thread (7 messages) 7 messages, 2 authors, 2021-08-12

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

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-08-12 11:31:18
Also in: lkml

On Sat, Aug 07, 2021 at 06:32:34PM +0800, Weili Qian wrote:
quoted hunk ↗ jump to hunk
@@ -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 [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help