vfio/mdev: add static modifier to add_mdev_supported_type
[sfrench/cifs-2.6.git] / drivers / vfio / mdev / mdev_sysfs.c
index 249472f055097eebdebc087dc8d3a6caf56d541b..ce5dd219f2c8e2601029186726fb0eee6d0fdfc7 100644 (file)
@@ -92,8 +92,8 @@ static struct kobj_type mdev_type_ktype = {
        .release = mdev_type_release,
 };
 
-struct mdev_type *add_mdev_supported_type(struct mdev_parent *parent,
-                                         struct attribute_group *group)
+static struct mdev_type *add_mdev_supported_type(struct mdev_parent *parent,
+                                                struct attribute_group *group)
 {
        struct mdev_type *type;
        int ret;