瀏覽代碼

[POWERPC] null_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 17 年之前
父節點
當前提交
6127d1c0b0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/powerpc/kernel/pci_32.c

+ 2 - 2
arch/powerpc/kernel/pci_32.c

@@ -1457,8 +1457,8 @@ null_write_config(struct pci_bus *bus, unsigned int devfn, int offset,
 
 
 static struct pci_ops null_pci_ops =
 static struct pci_ops null_pci_ops =
 {
 {
-	null_read_config,
-	null_write_config
+	.read = null_read_config,
+	.write = null_write_config,
 };
 };
 
 
 /*
 /*