Skip to contentSkip to conversation

vfio/mdev: Add soft dependency on vfio_mdev

PATCH New Alex Williamson 1 participant 1 message Feb 8, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfio/mdev: Add soft dependency on vfio_mdev

Devices on mdev_bus_type are not particularly useful without a driver on that bus. Since we only have one driver for the bus, make the loading automatic.

---
 drivers/vfio/mdev/mdev_core.c |    1 +
 1 file changed, 1 insertion(+)
drivers/vfio/mdev/mdev_core.c +1 -0
index 36d75c367d22..1b957d4545b4 100644
@@ -451,3 +451,4 @@ static void __exit mdev_exit(void)
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR(DRIVER_AUTHOR);
 MODULE_DESCRIPTION(DRIVER_DESC);
+MODULE_SOFTDEP("post: vfio_mdev");