USB: Make file operations structs in drivers/usb const.
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / omap_udc.c
index 2de9748ee6734c7763a2e4618f9769c91d36bce2..0a64504c2545467409a2ebcae606c2e151f9a95f 100644 (file)
@@ -40,7 +40,7 @@
 #include <linux/platform_device.h>
 #include <linux/usb_ch9.h>
 #include <linux/usb_gadget.h>
-#include <linux/usb_otg.h>
+#include <linux/usb/otg.h>
 #include <linux/dma-mapping.h>
 
 #include <asm/byteorder.h>
@@ -2437,7 +2437,7 @@ static int proc_udc_open(struct inode *inode, struct file *file)
        return single_open(file, proc_udc_show, NULL);
 }
 
-static struct file_operations proc_ops = {
+static const struct file_operations proc_ops = {
        .open           = proc_udc_open,
        .read           = seq_read,
        .llseek         = seq_lseek,