[POWERPC] null_pci_ops: Use named structure member initializers
authorNathan Lynch <ntl@pobox.com>
Thu, 9 Aug 2007 19:18:42 +0000 (05:18 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:53 +0000 (11:01 +1000)
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_32.c

index 04a3109..0e2bee4 100644 (file)
@@ -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,
 };
 
 /*