Skip to content

Commit

Permalink
[POWERPC] maple pci_ops: Use named structure member initializers
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Nathan Lynch authored and Paul Mackerras committed Aug 17, 2007
1 parent 3e02aeb commit 2e67d40
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/powerpc/platforms/maple/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
{
u3_agp_read_config,
u3_agp_write_config
.read = u3_agp_read_config,
.write = u3_agp_write_config,
};

static unsigned long u3_ht_cfa0(u8 devfn, u8 off)
Expand Down Expand Up @@ -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 =
{
u3_ht_read_config,
u3_ht_write_config
.read = u3_ht_read_config,
.write = u3_ht_write_config,
};

static unsigned int u4_pcie_cfa0(unsigned int devfn, unsigned int off)
Expand Down Expand Up @@ -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 =
{
u4_pcie_read_config,
u4_pcie_write_config
.read = u4_pcie_read_config,
.write = u4_pcie_write_config,
};

static void __init setup_u3_agp(struct pci_controller* hose)
Expand Down

0 comments on commit 2e67d40

Please sign in to comment.