Sfoglia il codice sorgente

[AF_X25]: constify function pointer tables

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Jan Engelhardt 17 anni fa
parent
commit
a1f6f5a768
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      net/x25/x25_proc.c

+ 1 - 1
net/x25/x25_proc.c

@@ -293,7 +293,7 @@ static const struct file_operations x25_seq_route_fops = {
 	.release	= seq_release,
 };
 
-static struct file_operations x25_seq_forward_fops = {
+static const struct file_operations x25_seq_forward_fops = {
 	.owner		= THIS_MODULE,
 	.open		= x25_seq_forward_open,
 	.read		= seq_read,