X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fx25%2Fx25_proc.c;h=96001f0c64fc16a8f4cd32512bb31adab912ec5f;hb=54c66f6d781e03dc0b23956234963c4911e6d1c0;hp=3c9f1ba56221c3e0067ea8d4105ca257a2af4ed3;hpb=574009c1a895aeeb85eaab29c235d75852b09eb8;p=linux-2.6 diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c index 3c9f1ba562..96001f0c64 100644 --- a/net/x25/x25_proc.c +++ b/net/x25/x25_proc.c @@ -270,7 +270,7 @@ static int x25_seq_forward_open(struct inode *inode, struct file *file) return seq_open(file, &x25_seq_forward_ops); } -static struct file_operations x25_seq_socket_fops = { +static const struct file_operations x25_seq_socket_fops = { .owner = THIS_MODULE, .open = x25_seq_socket_open, .read = seq_read, @@ -278,7 +278,7 @@ static struct file_operations x25_seq_socket_fops = { .release = seq_release, }; -static struct file_operations x25_seq_route_fops = { +static const struct file_operations x25_seq_route_fops = { .owner = THIS_MODULE, .open = x25_seq_route_open, .read = seq_read,