diff options
| author | 2022-09-21 18:43:57 +0800 | |
|---|---|---|
| committer | 2022-09-21 14:15:11 -0600 | |
| commit | 5f6c7e0831a1f1faffad43bb8dbc260b49f2d3dc (patch) | |
| tree | e31787c49009f4e3a1d545f990f031cc850c21f9 /include/linux | |
| parent | vfio/fsl-mc: Use the new device life cycle helpers (diff) | |
| download | linux-dev-5f6c7e0831a1f1faffad43bb8dbc260b49f2d3dc.tar.xz linux-dev-5f6c7e0831a1f1faffad43bb8dbc260b49f2d3dc.zip | |
vfio/platform: Use the new device life cycle helpers
Move vfio_device_ops from platform core to platform drivers so device
specific init/cleanup can be added.
Introduce two new helpers vfio_platform_init/release_common() for the
use in driver @init/@release.
vfio_platform_probe/remove_common() will be deprecated.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20220921104401.38898-12-kevin.tian@intel.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
