struct cdev {
struct kobject kobj;
struct module *owner;
- const struct file_operations *ops;
+ struct file_operations *ops;
struct list_head list;
dev_t dev;
unsigned int count;
};
-void cdev_init(struct cdev *, const struct file_operations *);
+void cdev_init(struct cdev *, struct file_operations *);
struct cdev *cdev_alloc(void);