diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-10 10:10:07 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-01-23 11:26:29 -0700 |
commit | 8bf8c5ee1f3863d944c1d8c29335f0c790b4f851 (patch) | |
tree | 0acaf6ba055e2b2f6e8fbfbc65934e6a66ad6275 /samples | |
parent | 6b182403ee45ed579db544d074d2acf344025f71 (diff) |
vfio-mdev: turn VFIO_MDEV into a selectable symbol
VFIO_MDEV is just a library with helpers for the drivers. Stop making
it a user choice and just select it by the drivers that use the helpers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Link: https://lore.kernel.org/r/20230110091009.474427-3-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index f1b8d4ff1230..56b191d128d8 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -185,14 +185,14 @@ config SAMPLE_UHID config SAMPLE_VFIO_MDEV_MTTY tristate "Build VFIO mtty example mediated device sample code" - depends on VFIO_MDEV + select VFIO_MDEV help Build a virtual tty sample driver for use as a VFIO mediated device config SAMPLE_VFIO_MDEV_MDPY tristate "Build VFIO mdpy example mediated device sample code" - depends on VFIO_MDEV + select VFIO_MDEV help Build a virtual display sample driver for use as a VFIO mediated device. It is a simple framebuffer and supports @@ -209,7 +209,7 @@ config SAMPLE_VFIO_MDEV_MDPY_FB config SAMPLE_VFIO_MDEV_MBOCHS tristate "Build VFIO mdpy example mediated device sample code" - depends on VFIO_MDEV + select VFIO_MDEV select DMA_SHARED_BUFFER help Build a virtual display sample driver for use as a VFIO |