提交 f1d645f4 编写于 作者: N Nathan Lynch 提交者: Paul Mackerras

[POWERPC] chrp pci_ops: Use named structure member initializers

Signed-off-by: NNathan Lynch <ntl@pobox.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 21d8f6c7
...@@ -86,8 +86,8 @@ int gg2_write_config(struct pci_bus *bus, unsigned int devfn, int off, ...@@ -86,8 +86,8 @@ int gg2_write_config(struct pci_bus *bus, unsigned int devfn, int off,
static struct pci_ops gg2_pci_ops = static struct pci_ops gg2_pci_ops =
{ {
gg2_read_config, .read = gg2_read_config,
gg2_write_config .write = gg2_write_config,
}; };
/* /*
...@@ -124,8 +124,8 @@ int rtas_write_config(struct pci_bus *bus, unsigned int devfn, int offset, ...@@ -124,8 +124,8 @@ int rtas_write_config(struct pci_bus *bus, unsigned int devfn, int offset,
static struct pci_ops rtas_pci_ops = static struct pci_ops rtas_pci_ops =
{ {
rtas_read_config, .read = rtas_read_config,
rtas_write_config .write = rtas_write_config,
}; };
volatile struct Hydra __iomem *Hydra = NULL; volatile struct Hydra __iomem *Hydra = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册