[POWERPC] pa_pxp_ops: Use named structure member initializers
authorNathan Lynch <ntl@pobox.com>
Thu, 9 Aug 2007 19:18:40 +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>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/pci.c

index ab1f5f62bcd871cbb6d2955b40af5b0754635d51..882b571ba92c72028f53962871d0e1fefafe8b31 100644 (file)
@@ -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)