vdpa_sim: don't select DMA_OPS
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Aug 2024 06:00:08 +0000 (09:00 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Sep 2024 04:08:38 +0000 (07:08 +0300)
vdpa_sim has been fixed to not override the dma_map_ops in commit
6c3d329e6486 ("vdpa_sim: get rid of DMA ops"), so don't select the
symbol and don't depend on HAS_DMA.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/Kconfig

index 5265d09fc1c40979a49b9d7f9a3fbfcabe87726c..b08de3b7706109e5da3a424b2e75921835ccd01d 100644 (file)
@@ -11,8 +11,7 @@ if VDPA
 
 config VDPA_SIM
        tristate "vDPA device simulator core"
-       depends on RUNTIME_TESTING_MENU && HAS_DMA
-       select DMA_OPS
+       depends on RUNTIME_TESTING_MENU
        select VHOST_RING
        select IOMMU_IOVA
        help