vfio/mdev: add static modifier to add_mdev_supported_type
authorPaolo Cretaro <paolocretaro@gmail.com>
Tue, 13 Nov 2018 08:45:43 +0000 (09:45 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 12 Dec 2018 19:59:48 +0000 (12:59 -0700)
commit9422f5871d5d9ad9e168e1329a43cf9169b04712
treefabb0e64ed7868ac3ecd57e25d6c9d605b05d0bf
parente309df5b0c9e67cc929eedd3e32f4907fa49543e
vfio/mdev: add static modifier to add_mdev_supported_type

Set add_mdev_supported_type as static since it is only used within
mdev_sysfs.c.  This fixes -Wmissing-prototypes gcc warning.

Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/mdev/mdev_sysfs.c