浏览代码

[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 年之前
父节点
当前提交
1bb8c6216f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)