diff --git a/drivers/vfio/Makefile b/drivers/vfio/Makefile index 1a32357592e3..41ed528c7587 100644 --- a/drivers/vfio/Makefile +++ b/drivers/vfio/Makefile @@ -3,6 +3,8 @@ vfio_virqfd-y := virqfd.o vfio-y += vfio_main.o +vfio_iommu_type1-y = iommu_type1.o + obj-$(CONFIG_VFIO) += vfio.o obj-$(CONFIG_VFIO_VIRQFD) += vfio_virqfd.o obj-$(CONFIG_VFIO_IOMMU_TYPE1) += vfio_iommu_type1.o diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/iommu_type1.c similarity index 100% rename from drivers/vfio/vfio_iommu_type1.c rename to drivers/vfio/iommu_type1.c