Browse Source

[POWERPC] pa_pxp_ops: Use named structure member initializers

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Nathan Lynch 18 năm trước cách đây
mục cha
commit
1bb8c6216f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      arch/powerpc/platforms/pasemi/pci.c

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

@@ -122,8 +122,8 @@ static int pa_pxp_write_config(struct pci_bus *bus, unsigned int devfn,
 }
 
 static struct pci_ops pa_pxp_ops = {
-	pa_pxp_read_config,
-	pa_pxp_write_config,
+	.read = pa_pxp_read_config,
+	.write = pa_pxp_write_config,
 };
 
 static void __init setup_pa_pxp(struct pci_controller *hose)