]> err.no Git - linux-2.6/blobdiff - include/linux/cdev.h
Merge branch 'upstream-fixes' of git://lost.foo-projects.org/~ahkok/git/netdev-2...
[linux-2.6] / include / linux / cdev.h
index 8da37e29cb877177208e0e51821a72a2e9c72927..2216638962d2790fa8d5e4776d17559c3717a69a 100644 (file)
@@ -5,13 +5,13 @@
 struct cdev {
        struct kobject kobj;
        struct module *owner;
-       struct file_operations *ops;
+       const struct file_operations *ops;
        struct list_head list;
        dev_t dev;
        unsigned int count;
 };
 
-void cdev_init(struct cdev *, struct file_operations *);
+void cdev_init(struct cdev *, const struct file_operations *);
 
 struct cdev *cdev_alloc(void);