Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577038 > unrolled thread

[PATCH] vfio/mdev: Add soft dependency on vfio_mdev

Started byAlex Williamson <alex.williamson@redhat.com>
First post2017-02-08 21:50 +0100
Last post2017-02-08 21:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] vfio/mdev: Add soft dependency on vfio_mdev Alex Williamson <alex.williamson@redhat.com> - 2017-02-08 21:50 +0100

#1577038 — [PATCH] vfio/mdev: Add soft dependency on vfio_mdev

FromAlex Williamson <alex.williamson@redhat.com>
Date2017-02-08 21:50 +0100
Subject[PATCH] vfio/mdev: Add soft dependency on vfio_mdev
Message-ID<t8HlD-52Y-1@gated-at.bofh.it>
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");

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web