X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fseq_file.h;h=3e3cccbb1cac355f385f474477f2222015e1e528;hb=d5f1ce9a5e80fb315c86b036a89b1237fdf11938;hp=b95f6eb7254cd889bfc5c9db9ab2d6029e0f2994;hpb=a05ba4561fa3ad8b64a27577d0d38c190f60f762;p=powerpc.git diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h index b95f6eb725..3e3cccbb1c 100644 --- a/include/linux/seq_file.h +++ b/include/linux/seq_file.h @@ -20,7 +20,7 @@ struct seq_file { loff_t index; loff_t version; struct mutex lock; - struct seq_operations *op; + const struct seq_operations *op; void *private; }; @@ -31,7 +31,7 @@ struct seq_operations { int (*show) (struct seq_file *m, void *v); }; -int seq_open(struct file *, struct seq_operations *); +int seq_open(struct file *, const struct seq_operations *); ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); loff_t seq_lseek(struct file *, loff_t, int); int seq_release(struct inode *, struct file *);