summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorXiongwei Song2017-12-22 00:12:26 +0100
committerAlex Williamson2018-01-09 20:13:08 +0100
commit46ed90f157f42d956ffed17c003f089a59b76e3e (patch)
tree80181a9ee7923d4f687f67239868a6c73222227c /arch/sh/kernel
parentvfio-pci: Allow mapping MSIX BAR (diff)
downloadkernel-qcow2-linux-46ed90f157f42d956ffed17c003f089a59b76e3e.tar.gz
kernel-qcow2-linux-46ed90f157f42d956ffed17c003f089a59b76e3e.tar.xz
kernel-qcow2-linux-46ed90f157f42d956ffed17c003f089a59b76e3e.zip
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>
Diffstat (limited to 'arch/sh/kernel')
0 files changed, 0 insertions, 0 deletions