Ver Fonte

[POWERPC] celleb_fake_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 há 18 anos atrás
pai
commit
aec249bc19
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      arch/powerpc/platforms/celleb/pci.c

+ 2 - 2
arch/powerpc/platforms/celleb/pci.c

@@ -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,