diff options
| -rw-r--r-- | arch/powerpc/platforms/powermac/pci.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/powerpc/platforms/powermac/pci.c b/arch/powerpc/platforms/powermac/pci.c index 92586db19754..69d67ff07004 100644 --- a/arch/powerpc/platforms/powermac/pci.c +++ b/arch/powerpc/platforms/powermac/pci.c | |||
| @@ -225,8 +225,8 @@ static int macrisc_write_config(struct pci_bus *bus, unsigned int devfn, | |||
| 225 | 225 | ||
| 226 | static struct pci_ops macrisc_pci_ops = | 226 | static struct pci_ops macrisc_pci_ops = |
| 227 | { | 227 | { |
| 228 | macrisc_read_config, | 228 | .read = macrisc_read_config, |
| 229 | macrisc_write_config | 229 | .write = macrisc_write_config, |
| 230 | }; | 230 | }; |
| 231 | 231 | ||
| 232 | #ifdef CONFIG_PPC32 | 232 | #ifdef CONFIG_PPC32 |
| @@ -280,8 +280,8 @@ chaos_write_config(struct pci_bus *bus, unsigned int devfn, int offset, | |||
| 280 | 280 | ||
| 281 | static struct pci_ops chaos_pci_ops = | 281 | static struct pci_ops chaos_pci_ops = |
| 282 | { | 282 | { |
| 283 | chaos_read_config, | 283 | .read = chaos_read_config, |
| 284 | chaos_write_config | 284 | .write = chaos_write_config, |
| 285 | }; | 285 | }; |
| 286 | 286 | ||
| 287 | static void __init setup_chaos(struct pci_controller *hose, | 287 | static void __init setup_chaos(struct pci_controller *hose, |
| @@ -456,8 +456,8 @@ static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn, | |||
| 456 | 456 | ||
| 457 | static struct pci_ops u3_ht_pci_ops = | 457 | static struct pci_ops u3_ht_pci_ops = |
| 458 | { | 458 | { |
| 459 | u3_ht_read_config, | 459 | .read = u3_ht_read_config, |
| 460 | u3_ht_write_config | 460 | .write = u3_ht_write_config, |
| 461 | }; | 461 | }; |
| 462 | 462 | ||
| 463 | #define U4_PCIE_CFA0(devfn, off) \ | 463 | #define U4_PCIE_CFA0(devfn, off) \ |
| @@ -561,8 +561,8 @@ static int u4_pcie_write_config(struct pci_bus *bus, unsigned int devfn, | |||
| 561 | 561 | ||
| 562 | static struct pci_ops u4_pcie_pci_ops = | 562 | static struct pci_ops u4_pcie_pci_ops = |
| 563 | { | 563 | { |
| 564 | u4_pcie_read_config, | 564 | .read = u4_pcie_read_config, |
| 565 | u4_pcie_write_config | 565 | .write = u4_pcie_write_config, |
| 566 | }; | 566 | }; |
| 567 | 567 | ||
| 568 | #endif /* CONFIG_PPC64 */ | 568 | #endif /* CONFIG_PPC64 */ |
