summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2007-08-10 05:18:44 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:54 +1000
commitf1d645f42849ce3c12781514e6ced97748ada6b1 (patch)
treec52385069b7bdf9c9752e8f0baca0710021cf83b /arch/powerpc/platforms
parent21d8f6c728a0eb852b521626a41b2bba6a6216d9 (diff)
downloadlinux-f1d645f42849ce3c12781514e6ced97748ada6b1.tar.gz
linux-f1d645f42849ce3c12781514e6ced97748ada6b1.tar.bz2
linux-f1d645f42849ce3c12781514e6ced97748ada6b1.zip
[POWERPC] chrp 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/platforms')
-rw-r--r--arch/powerpc/platforms/chrp/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/chrp/pci.c b/arch/powerpc/platforms/chrp/pci.c
index 28d1647b204e..0c6dba9823e9 100644
--- a/arch/powerpc/platforms/chrp/pci.c
+++ b/arch/powerpc/platforms/chrp/pci.c
@@ -86,8 +86,8 @@ int gg2_write_config(struct pci_bus *bus, unsigned int devfn, int off,
static struct pci_ops gg2_pci_ops =
{
- gg2_read_config,
- gg2_write_config
+ .read = gg2_read_config,
+ .write = gg2_write_config,
};
/*
@@ -124,8 +124,8 @@ int rtas_write_config(struct pci_bus *bus, unsigned int devfn, int offset,
static struct pci_ops rtas_pci_ops =
{
- rtas_read_config,
- rtas_write_config
+ .read = rtas_read_config,
+ .write = rtas_write_config,
};
volatile struct Hydra __iomem *Hydra = NULL;