vfio-mdev: add back CONFIG_VFIO dependency
[linux-2.6-block.git] / samples / Kconfig
index 56b191d128d88ffce01850e7bdd341e9fa76d26a..44a09dfa8a0bb4ead461e2241fa664731155fd21 100644 (file)
@@ -185,6 +185,7 @@ config SAMPLE_UHID
 
 config SAMPLE_VFIO_MDEV_MTTY
        tristate "Build VFIO mtty example mediated device sample code"
+       depends on VFIO
        select VFIO_MDEV
        help
          Build a virtual tty sample driver for use as a VFIO
@@ -192,6 +193,7 @@ config SAMPLE_VFIO_MDEV_MTTY
 
 config SAMPLE_VFIO_MDEV_MDPY
        tristate "Build VFIO mdpy example mediated device sample code"
+       depends on VFIO
        select VFIO_MDEV
        help
          Build a virtual display sample driver for use as a VFIO
@@ -209,6 +211,7 @@ config SAMPLE_VFIO_MDEV_MDPY_FB
 
 config SAMPLE_VFIO_MDEV_MBOCHS
        tristate "Build VFIO mdpy example mediated device sample code"
+       depends on VFIO
        select VFIO_MDEV
        select DMA_SHARED_BUFFER
        help