USB: Make file operations structs in drivers/usb const.
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / at91_udc.c
index cfebca05ead57ca87188b40d93f08ec0c04160b1..d00958a01cfbc2fc0b0d551348a7c127c819da13 100644 (file)
@@ -247,7 +247,7 @@ static int proc_udc_open(struct inode *inode, struct file *file)
        return single_open(file, proc_udc_show, PDE(inode)->data);
 }
 
-static struct file_operations proc_ops = {
+static const struct file_operations proc_ops = {
        .open           = proc_udc_open,
        .read           = seq_read,
        .llseek         = seq_lseek,