-
由 Shameer Kolothum 提交于
struct pci_driver pointer is an input into the pci_iov_get_pf_drvdata(). Introduce helpers to retrieve the ACC PF dev struct pci_driver pointers as we use this in ACC vfio migration driver. Acked-by: NZhou Wang <wangzhou1@hisilicon.com> Acked-by: NKai Ye <yekai13@huawei.com> Acked-by: NLongfang Liu <liulongfang@huawei.com> Signed-off-by: NShameer Kolothum <shameerali.kolothum.thodi@huawei.com> Link: https://lore.kernel.org/r/20220308184902.2242-7-shameerali.kolothum.thodi@huawei.comSigned-off-by: NAlex Williamson <alex.williamson@redhat.com>
442fbc09