[PATCH 07/11] null_pci_ops: use named structure member initializers
Nathan Lynch
ntl at pobox.com
Fri Aug 10 05:18:42 EST 2007
Signed-off-by: Nathan Lynch <ntl at pobox.com>
---
arch/powerpc/kernel/pci_32.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c
index 04a3109..0e2bee4 100644
--- a/arch/powerpc/kernel/pci_32.c
+++ b/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 =
{
- null_read_config,
- null_write_config
+ .read = null_read_config,
+ .write = null_write_config,
};
/*
--
1.5.2.4
More information about the Linuxppc-dev
mailing list