Browse Source

[POWERPC] null_pci_ops: Use named structure member initializers

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Nathan Lynch 18 years ago
parent
commit
6127d1c0b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/powerpc/kernel/pci_32.c

+ 2 - 2
arch/powerpc/kernel/pci_32.c

@@ -1457,8 +1457,8 @@ null_write_config(struct pci_bus *bus, unsigned int devfn, int offset,
 
 static struct pci_ops null_pci_ops =
 {
-	null_read_config,
-	null_write_config
+	.read = null_read_config,
+	.write = null_write_config,
 };
 
 /*