summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/mdev/Makefile
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2021-06-17 16:22:14 +0200
committerAlex Williamson <alex.williamson@redhat.com>2021-06-21 15:29:25 -0600
commitaf3ab3f9b986cdbc1b97b8a3341ce78851edb0dd (patch)
tree3a7e0f18782b663b8b56203fecddd3e7398f4c15 /drivers/vfio/mdev/Makefile
parent0d9f837c6958a4c14e6bcb5c5edf6c851d65f507 (diff)
downloadlinux-af3ab3f9b986cdbc1b97b8a3341ce78851edb0dd.tar.gz
linux-af3ab3f9b986cdbc1b97b8a3341ce78851edb0dd.tar.bz2
linux-af3ab3f9b986cdbc1b97b8a3341ce78851edb0dd.zip
vfio/mdev: Remove CONFIG_VFIO_MDEV_DEVICE
For some reason the vfio_mdev shim mdev_driver has its own module and kconfig. As the next patch requires access to it from mdev.ko merge the two modules together and remove VFIO_MDEV_DEVICE. A later patch deletes this driver entirely. Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com> Link: https://lore.kernel.org/r/20210617142218.1877096-7-hch@lst.de Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/mdev/Makefile')
-rw-r--r--drivers/vfio/mdev/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/vfio/mdev/Makefile b/drivers/vfio/mdev/Makefile
index 101516fdf375..ff9ecd802125 100644
--- a/drivers/vfio/mdev/Makefile
+++ b/drivers/vfio/mdev/Makefile
@@ -1,6 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
-mdev-y := mdev_core.o mdev_sysfs.o mdev_driver.o
+mdev-y := mdev_core.o mdev_sysfs.o mdev_driver.o vfio_mdev.o
obj-$(CONFIG_VFIO_MDEV) += mdev.o
-obj-$(CONFIG_VFIO_MDEV_DEVICE) += vfio_mdev.o