Commit c78478e1 authored by Yanteng Si's avatar Yanteng Si Committed by Jonathan Corbet

Docs/zh_CN: Update the translation of pci-iov-howto to 5.19-rc8

Update to commit 4f23bd5d ("PCI/doc: Convert
examples to generic power management")
Signed-off-by: default avatarYanteng Si <siyanteng@loongson.cn>
Reviewed-by: default avatarAlex Shi <alexs@kernel.org>
Link: https://lore.kernel.org/r/24c53aabc9d942f6fe38b8d3a843329edca3d18c.1658983157.git.siyanteng@loongson.cnSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 83b41bb2
......@@ -123,14 +123,14 @@ nr_virtfn'是要启用的VF的编号。
...
}
static int dev_suspend(struct pci_dev *dev, pm_message_t state)
static int dev_suspend(struct device *dev)
{
...
return 0;
}
static int dev_resume(struct pci_dev *dev)
static int dev_resume(struct device *dev)
{
...
......@@ -163,8 +163,7 @@ nr_virtfn'是要启用的VF的编号。
.id_table = dev_id_table,
.probe = dev_probe,
.remove = dev_remove,
.suspend = dev_suspend,
.resume = dev_resume,
.driver.pm = &dev_pm_ops
.shutdown = dev_shutdown,
.sriov_configure = dev_sriov_configure,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment