diff options
| author | Nathan Lynch <ntl@pobox.com> | 2007-08-09 15:18:39 -0400 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2007-08-16 21:01:53 -0400 |
| commit | 2e67d40762215bcd7c9b81e828ef6de453a09bc4 (patch) | |
| tree | be5fc6f339514937182b63828cd7c3c4ddaec9a4 /arch | |
| parent | 3e02aebbca47174d4263cac5ff5b68ea29a7bcff (diff) | |
[POWERPC] maple 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')
| -rw-r--r-- | arch/powerpc/platforms/maple/pci.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/maple/pci.c b/arch/powerpc/platforms/maple/pci.c index b095eaabf623..771ed0cf29a5 100644 --- a/arch/powerpc/platforms/maple/pci.c +++ b/arch/powerpc/platforms/maple/pci.c | |||
| @@ -182,8 +182,8 @@ static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn, | |||
| 182 | 182 | ||
| 183 | static struct pci_ops u3_agp_pci_ops = | 183 | static struct pci_ops u3_agp_pci_ops = |
| 184 | { | 184 | { |
| 185 | u3_agp_read_config, | 185 | .read = u3_agp_read_config, |
| 186 | u3_agp_write_config | 186 | .write = u3_agp_write_config, |
| 187 | }; | 187 | }; |
| 188 | 188 | ||
| 189 | static unsigned long u3_ht_cfa0(u8 devfn, u8 off) | 189 | static unsigned long u3_ht_cfa0(u8 devfn, u8 off) |
| @@ -278,8 +278,8 @@ static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn, | |||
| 278 | 278 | ||
| 279 | static struct pci_ops u3_ht_pci_ops = | 279 | static struct pci_ops u3_ht_pci_ops = |
| 280 | { | 280 | { |
| 281 | u3_ht_read_config, | 281 | .read = u3_ht_read_config, |
| 282 | u3_ht_write_config | 282 | .write = u3_ht_write_config, |
| 283 | }; | 283 | }; |
| 284 | 284 | ||
| 285 | static unsigned int u4_pcie_cfa0(unsigned int devfn, unsigned int off) | 285 | static unsigned int u4_pcie_cfa0(unsigned int devfn, unsigned int off) |
| @@ -383,8 +383,8 @@ static int u4_pcie_write_config(struct pci_bus *bus, unsigned int devfn, | |||
| 383 | 383 | ||
| 384 | static struct pci_ops u4_pcie_pci_ops = | 384 | static struct pci_ops u4_pcie_pci_ops = |
| 385 | { | 385 | { |
| 386 | u4_pcie_read_config, | 386 | .read = u4_pcie_read_config, |
| 387 | u4_pcie_write_config | 387 | .write = u4_pcie_write_config, |
| 388 | }; | 388 | }; |
| 389 | 389 | ||
| 390 | static void __init setup_u3_agp(struct pci_controller* hose) | 390 | static void __init setup_u3_agp(struct pci_controller* hose) |
