Commit 2e67d407 authored by Nathan Lynch's avatar Nathan Lynch Committed by Paul Mackerras

[POWERPC] maple pci_ops: Use named structure member initializers

Signed-off-by: default avatarNathan Lynch <ntl@pobox.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3e02aebb
...@@ -182,8 +182,8 @@ static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn, ...@@ -182,8 +182,8 @@ static int u3_agp_write_config(struct pci_bus *bus, unsigned int devfn,
static struct pci_ops u3_agp_pci_ops = static struct pci_ops u3_agp_pci_ops =
{ {
u3_agp_read_config, .read = u3_agp_read_config,
u3_agp_write_config .write = u3_agp_write_config,
}; };
static unsigned long u3_ht_cfa0(u8 devfn, u8 off) 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,8 +278,8 @@ static int u3_ht_write_config(struct pci_bus *bus, unsigned int devfn,
static struct pci_ops u3_ht_pci_ops = static struct pci_ops u3_ht_pci_ops =
{ {
u3_ht_read_config, .read = u3_ht_read_config,
u3_ht_write_config .write = u3_ht_write_config,
}; };
static unsigned int u4_pcie_cfa0(unsigned int devfn, unsigned int off) 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,8 +383,8 @@ static int u4_pcie_write_config(struct pci_bus *bus, unsigned int devfn,
static struct pci_ops u4_pcie_pci_ops = static struct pci_ops u4_pcie_pci_ops =
{ {
u4_pcie_read_config, .read = u4_pcie_read_config,
u4_pcie_write_config .write = u4_pcie_write_config,
}; };
static void __init setup_u3_agp(struct pci_controller* hose) static void __init setup_u3_agp(struct pci_controller* hose)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment