summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_32.c
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2007-08-10 05:18:42 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:53 +1000
commit6127d1c0b097b2e9acc83dede1c1cb64ce76e7d5 (patch)
tree28e20861ac3bd0a89c35a8d0355db94ad2c2faae /arch/powerpc/kernel/pci_32.c
parent3fac10e7f5a6dfa4a08938d24af2775cd9b9e267 (diff)
downloadop-kernel-dev-6127d1c0b097b2e9acc83dede1c1cb64ce76e7d5.zip
op-kernel-dev-6127d1c0b097b2e9acc83dede1c1cb64ce76e7d5.tar.gz
[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>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r--arch/powerpc/kernel/pci_32.c4
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,
};
/*
OpenPOWER on IntegriCloud