diff options
author | Diana Craciun <diana.craciun@oss.nxp.com> | 2020-10-05 20:36:46 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-10-12 11:32:03 -0600 |
commit | 704f5082d8457a2166eb4cb4e460510117c70928 (patch) | |
tree | cc0b4f8840f8473c3840a70b3ee9aa298b416e69 /drivers/vfio/fsl-mc/vfio_fsl_mc_private.h | |
parent | fb1ff4c1941573aea59e4cb575dc5a723303cd70 (diff) | |
download | linux-stable-704f5082d8457a2166eb4cb4e460510117c70928.tar.gz linux-stable-704f5082d8457a2166eb4cb4e460510117c70928.tar.bz2 linux-stable-704f5082d8457a2166eb4cb4e460510117c70928.zip |
vfio/fsl-mc: Scan DPRC objects on vfio-fsl-mc driver bind
The DPRC (Data Path Resource Container) device is a bus device and has
child devices attached to it. When the vfio-fsl-mc driver is probed
the DPRC is scanned and the child devices discovered and initialized.
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/fsl-mc/vfio_fsl_mc_private.h')
-rw-r--r-- | drivers/vfio/fsl-mc/vfio_fsl_mc_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h b/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h index e79cc116f6b8..37d61eaa58c8 100644 --- a/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h +++ b/drivers/vfio/fsl-mc/vfio_fsl_mc_private.h @@ -9,6 +9,7 @@ struct vfio_fsl_mc_device { struct fsl_mc_device *mc_dev; + struct notifier_block nb; }; #endif /* VFIO_FSL_MC_PRIVATE_H */ |