Ver Fonte

[POWERPC] celleb_epci_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
3e02aebbca
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      arch/powerpc/platforms/celleb/scc_epci.c

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

@@ -278,8 +278,8 @@ static int celleb_epci_write_config(struct pci_bus *bus,
 }
 
 struct pci_ops celleb_epci_ops = {
-	celleb_epci_read_config,
-	celleb_epci_write_config,
+	.read = celleb_epci_read_config,
+	.write = celleb_epci_write_config,
 };
 
 /* to be moved in FW */