mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] vfio/mdev: Add soft dependency on vfio_mdev
@ 2017-02-08 20:47 Alex Williamson
  0 siblings, 0 replies; only message in thread
From: Alex Williamson @ 2017-02-08 20:47 UTC (permalink / raw)
  To: alex.williamson; +Cc: kwankhede, linux-kernel, kvm

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.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
 drivers/vfio/mdev/mdev_core.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c
index 36d75c367d22..1b957d4545b4 100644
--- a/drivers/vfio/mdev/mdev_core.c
+++ b/drivers/vfio/mdev/mdev_core.c
@@ -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");

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-08 20:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 20:47 [PATCH] vfio/mdev: Add soft dependency on vfio_mdev Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®