]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/mdev: Use a module softdep for vfio_mdev
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 8 Feb 2017 20:13:25 +0000 (13:13 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 8 Feb 2017 20:13:25 +0000 (13:13 -0700)
commitfd26797d304f9151f7d78b586db98651f3c29f72
treee706eac9cdc51a8fd59dcffc082860fe27c14781
parent05e225a293c0c4f0fd4620d6650aa20ee1ca8638
vfio/mdev: Use a module softdep for vfio_mdev

Use an explicit module softdep rather than a request module call such
that the dependency is exposed to userspace.  This allows us to more
easily support modules loaded at initrd time.

Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/mdev/mdev_core.c