]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/cdev.h
[SPARC64]: Add of_device layer and make ebus/isa use it.
[linux-2.6-omap-h63xx.git] / 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);