firewire: mark some structs const
[firefly-linux-kernel-4.4.55.git] / drivers / firewire / fw-device-cdev.c
index c10e3326abf3c5488cc603582095a3c041b85569..117bc6db54af454bb9d9ba6c0340b7c107b2ee99 100644 (file)
@@ -602,7 +602,7 @@ static unsigned int fw_device_op_poll(struct file *file, poll_table * pt)
                return 0;
 }
 
-struct file_operations fw_device_ops = {
+const struct file_operations fw_device_ops = {
        .owner          = THIS_MODULE,
        .open           = fw_device_op_open,
        .read           = fw_device_op_read,