[PATCH 02/11] celleb_fake_pci_ops: use named structure member initializers

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


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

diff --git a/arch/powerpc/platforms/celleb/pci.c b/arch/powerpc/platforms/celleb/pci.c
index e9ac19c..de8038b 100644
--- a/arch/powerpc/platforms/celleb/pci.c
+++ b/arch/powerpc/platforms/celleb/pci.c
@@ -242,8 +242,8 @@ static int celleb_fake_pci_write_config(struct pci_bus *bus,
 }
 
 static struct pci_ops celleb_fake_pci_ops = {
-	celleb_fake_pci_read_config,
-	celleb_fake_pci_write_config
+	.read = celleb_fake_pci_read_config,
+	.write = celleb_fake_pci_write_config,
 };
 
 static inline void celleb_setup_pci_base_addrs(struct pci_controller *hose,
-- 
1.5.2.4




More information about the Linuxppc-dev mailing list