2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/vfio/mdev
Xiongwei Song 46ed90f157 vfio: mdev: make a couple of functions and structure vfio_mdev_driver static
The functions vfio_mdev_probe, vfio_mdev_remove and the structure
vfio_mdev_driver are only used in this file, so make them static.

Clean up sparse warnings:
drivers/vfio/mdev/vfio_mdev.c:114:5: warning: no previous prototype
for 'vfio_mdev_probe' [-Wmissing-prototypes]
drivers/vfio/mdev/vfio_mdev.c:121:6: warning: no previous prototype
for 'vfio_mdev_remove' [-Wmissing-prototypes]

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Reviewed-by: Quan Xu <quan.xu0@gmail.com>
Reviewed-by: Liu, Yi L <yi.l.liu@intel.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2018-01-09 12:13:08 -07:00
..
Kconfig docs: Add Documentation for Mediated devices 2016-11-17 08:33:20 -07:00
Makefile
mdev_core.c vfio/mdev: Use a module softdep for vfio_mdev 2017-02-08 13:13:25 -07:00
mdev_driver.c
mdev_private.h vfio-mdev: Make mdev_device private and abstract interfaces 2016-12-30 08:13:44 -07:00
mdev_sysfs.c vfio-mdev: de-polute the namespace, rename parent_device & parent_ops 2016-12-30 08:13:38 -07:00
vfio_mdev.c vfio: mdev: make a couple of functions and structure vfio_mdev_driver static 2018-01-09 12:13:08 -07:00