[PATCH 01/11] rtas_pci_ops: use named structure member initializers

Nathan Lynch ntl at pobox.com
Fri Aug 10 05:18:36 EST 2007


Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
 arch/powerpc/kernel/rtas_pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c
index a5de621..21f14e5 100644
--- a/arch/powerpc/kernel/rtas_pci.c
+++ b/arch/powerpc/kernel/rtas_pci.c
@@ -171,8 +171,8 @@ static int rtas_pci_write_config(struct pci_bus *bus,
 }
 
 struct pci_ops rtas_pci_ops = {
-	rtas_pci_read_config,
-	rtas_pci_write_config
+	.read = rtas_pci_read_config,
+	.write = rtas_pci_write_config,
 };
 
 int is_python(struct device_node *dev)
-- 
1.5.2.4




More information about the Linuxppc-dev mailing list