X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fusb%2Fgadget%2Ffunction%2Ff_mass_storage.c;h=acecd13dcbd9ad6acc26f3cb64214738a1abb530;hb=abc36be236358162202e86ad88616ff95a755101;hp=6972242379764ff04c7f775b50e9083f30c0a81d;hpb=f14fc0ccee5521e5b38cdd1df4385d32c6e1805b;p=mirror_ubuntu-bionic-kernel.git diff --git a/drivers/usb/gadget/function/f_mass_storage.c b/drivers/usb/gadget/function/f_mass_storage.c index 697224237976..acecd13dcbd9 100644 --- a/drivers/usb/gadget/function/f_mass_storage.c +++ b/drivers/usb/gadget/function/f_mass_storage.c @@ -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,