summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2007-08-10 05:18:36 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:53 +1000
commit8674e0c9e570fcce948518e8fe518f4b61ac91fe (patch)
treed5b1eee420036ba514a5f7245ea08494b58fe554
parent1bdb2867e5f0bca7c94f7df92f23fdd20524a488 (diff)
downloadlinux-3.10-8674e0c9e570fcce948518e8fe518f4b61ac91fe.tar.gz
linux-3.10-8674e0c9e570fcce948518e8fe518f4b61ac91fe.tar.bz2
linux-3.10-8674e0c9e570fcce948518e8fe518f4b61ac91fe.zip
[POWERPC] rtas_pci_ops: Use named structure member initializers
Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/kernel/rtas_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c
index a5de6211b97..21f14e57d1f 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)