diff options
author | Xiongwei Song <[email protected]> | 2017-12-22 07:12:26 +0800 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2018-01-09 12:13:08 -0700 |
commit | 46ed90f157f42d956ffed17c003f089a59b76e3e (patch) | |
tree | 80181a9ee7923d4f687f67239868a6c73222227c /net/openvswitch/vport-internal_dev.c | |
parent | a32295c612c57990d17fb0f41e7134394b2f35f6 (diff) |
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 <[email protected]>
Reviewed-by: Quan Xu <[email protected]>
Reviewed-by: Liu, Yi L <[email protected]>
Reviewed-by: Kirti Wankhede <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'net/openvswitch/vport-internal_dev.c')
0 files changed, 0 insertions, 0 deletions