[PATCH] mark struct file_operations const 2
[powerpc.git] / arch / cris / arch-v10 / drivers / i2c.c
index 092c724..aca81dd 100644 (file)
@@ -692,7 +692,7 @@ i2c_ioctl(struct inode *inode, struct file *file,
        return 0;
 }
 
-static struct file_operations i2c_fops = {
+static const struct file_operations i2c_fops = {
        .owner    = THIS_MODULE,
        .ioctl    = i2c_ioctl,
        .open     = i2c_open,