OSDN Git Service

PCI: constify function pointer tables
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 22 Jan 2008 19:53:43 +0000 (20:53 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:29 +0000 (15:04 -0800)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/proc.c

index 2bf159b..68aeeb7 100644 (file)
@@ -375,7 +375,7 @@ static int show_device(struct seq_file *m, void *v)
        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,
        .next   = pci_seq_next,
        .stop   = pci_seq_stop,