[PATCH] mark struct file_operations const 7
[safe/jmp/linux-2.6] / net / irda / discovery.c
index 789478b..f097341 100644 (file)
@@ -409,7 +409,7 @@ static int discovery_seq_open(struct inode *inode, struct file *file)
        return seq_open(file, &discovery_seq_ops);
 }
 
-struct file_operations discovery_seq_fops = {
+const struct file_operations discovery_seq_fops = {
        .owner          = THIS_MODULE,
        .open           = discovery_seq_open,
        .read           = seq_read,