]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/telephony/phonedev.c
[Cardman 40x0] Fix udev device creation
[linux-2.6-omap-h63xx.git] / drivers / telephony / phonedev.c
index 7a6db1c5c8c5bf491f8f9b237d18b2b812e0dcf3..e166fffea86ba5b971df5d6fd7e4f2c95240e689 100644 (file)
@@ -49,7 +49,7 @@ static int phone_open(struct inode *inode, struct file *file)
        unsigned int minor = iminor(inode);
        int err = 0;
        struct phone_device *p;
-       struct file_operations *old_fops, *new_fops = NULL;
+       const struct file_operations *old_fops, *new_fops = NULL;
 
        if (minor >= PHONE_NUM_DEVICES)
                return -ENODEV;