[PATCH] mark f_ops const in the inode
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / include / linux / input.h
index 6d4cc3c110d6b375ab90fa3e979bbe0cbd33cbde..1d4e341b72e62c23bcd0847bdaa44b5f2971ff9a 100644 (file)
@@ -957,7 +957,7 @@ struct input_handler {
        struct input_handle* (*connect)(struct input_handler *handler, struct input_dev *dev, struct input_device_id *id);
        void (*disconnect)(struct input_handle *handle);
 
-       struct file_operations *fops;
+       const struct file_operations *fops;
        int minor;
        char *name;