[POWERPC] celleb_fake_pci_ops: Use named structure member initializers
authorNathan Lynch <ntl@pobox.com>
Thu, 9 Aug 2007 19:18:37 +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/platforms/celleb/pci.c

index e0d97e02ef1f2f388c9b8ea2fd4e1f3e10d76324..11336b40feca0736dc827d82af05ec3677be3946 100644 (file)
@@ -242,8 +242,8 @@ static int celleb_fake_pci_write_config(struct pci_bus *bus,
 }
 
 static struct pci_ops celleb_fake_pci_ops = {
-       celleb_fake_pci_read_config,
-       celleb_fake_pci_write_config
+       .read = celleb_fake_pci_read_config,
+       .write = celleb_fake_pci_write_config,
 };
 
 static inline void celleb_setup_pci_base_addrs(struct pci_controller *hose,