Merge tag 'configfs-for-4.15' of git://git.infradead.org/users/hch/configfs
[sfrench/cifs-2.6.git] / drivers / usb / gadget / function / f_mass_storage.c
index 6972242379764ff04c7f775b50e9083f30c0a81d..acecd13dcbd9ad6acc26f3cb64214738a1abb530 100644 (file)
@@ -3141,7 +3141,7 @@ static struct configfs_attribute *fsg_lun_attrs[] = {
        NULL,
 };
 
-static struct config_item_type fsg_lun_type = {
+static const struct config_item_type fsg_lun_type = {
        .ct_item_ops    = &fsg_lun_item_ops,
        .ct_attrs       = fsg_lun_attrs,
        .ct_owner       = THIS_MODULE,
@@ -3332,7 +3332,7 @@ static struct configfs_group_operations fsg_group_ops = {
        .drop_item      = fsg_lun_drop,
 };
 
-static struct config_item_type fsg_func_type = {
+static const struct config_item_type fsg_func_type = {
        .ct_item_ops    = &fsg_item_ops,
        .ct_group_ops   = &fsg_group_ops,
        .ct_attrs       = fsg_attrs,