Browse Source

PCI: constify function pointer tables

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jan Engelhardt 17 years ago
parent
commit
02d90fc343
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pci/proc.c

+ 1 - 1
drivers/pci/proc.c

@@ -375,7 +375,7 @@ static int show_device(struct seq_file *m, void *v)
 	return 0;
 	return 0;
 }
 }
 
 
-static struct seq_operations proc_bus_pci_devices_op = {
+static const struct seq_operations proc_bus_pci_devices_op = {
 	.start	= pci_seq_start,
 	.start	= pci_seq_start,
 	.next	= pci_seq_next,
 	.next	= pci_seq_next,
 	.stop	= pci_seq_stop,
 	.stop	= pci_seq_stop,