diff options
author | Eric Farman <farman@linux.ibm.com> | 2022-11-04 17:20:04 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-11-10 21:11:25 +0300 |
commit | 3d62fe18b6a3a93c5360c2d590b9b40b6842133e (patch) | |
tree | c1345e089a6d98e8be08dcce1f6d35872399605a /drivers/s390/cio/vfio_ccw_private.h | |
parent | 06caaa27df8f1a8a6be78212c5ef5cac04500176 (diff) | |
download | linux-3d62fe18b6a3a93c5360c2d590b9b40b6842133e.tar.xz |
vfio/ccw: move private to mdev lifecycle
Now that the mdev parent data is split out into its own struct,
it is safe to move the remaining private data to follow the
mdev probe/remove lifecycle. The mdev parent data will remain
where it is, and follow the subchannel and the css driver
interfaces.
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Link: https://lore.kernel.org/r/20221104142007.1314999-5-farman@linux.ibm.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/s390/cio/vfio_ccw_private.h')
-rw-r--r-- | drivers/s390/cio/vfio_ccw_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/vfio_ccw_private.h b/drivers/s390/cio/vfio_ccw_private.h index 55d636225cff..747aba5f5272 100644 --- a/drivers/s390/cio/vfio_ccw_private.h +++ b/drivers/s390/cio/vfio_ccw_private.h @@ -134,6 +134,8 @@ int vfio_ccw_sch_quiesce(struct subchannel *sch); void vfio_ccw_sch_io_todo(struct work_struct *work); void vfio_ccw_crw_todo(struct work_struct *work); +void vfio_ccw_free_private(struct vfio_ccw_private *private); + extern struct mdev_driver vfio_ccw_mdev_driver; /* |