[PATCH] mark struct file_operations const 3
[deliverable/linux.git] / drivers / infiniband / hw / ipath / ipath_kernel.h
index 986b2125b8f5826cd4a1fd95b29014a373914f19..6d8d05fb5999e41a77552455c5492b0d30da6e18 100644 (file)
@@ -593,7 +593,7 @@ void ipath_shutdown_device(struct ipath_devdata *);
 void ipath_disarm_senderrbufs(struct ipath_devdata *);
 
 struct file_operations;
-int ipath_cdev_init(int minor, char *name, struct file_operations *fops,
+int ipath_cdev_init(int minor, char *name, const struct file_operations *fops,
                    struct cdev **cdevp, struct class_device **class_devp);
 void ipath_cdev_cleanup(struct cdev **cdevp,
                        struct class_device **class_devp);
This page took 0.035579 seconds and 5 git commands to generate.