]> www.infradead.org Git - users/dwmw2/linux.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)
commitf790eb57e6ec8d77489755cc25a51c4409e2f590
treee706eac9cdc51a8fd59dcffc082860fe27c14781
parentd88423f7844ea9941d55bde92716a50c3e131dd7
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