diff options
author | Rob Herring <robh@kernel.org> | 2015-01-09 21:34:35 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-01-22 14:54:08 -0500 |
commit | 6f918cefc1f751e71424997d618020d22088166d (patch) | |
tree | ede56c53bd4aeafaf1147ecc83536d6edcda20ec /arch/frv | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) |
frv/PCI: Add struct pci_ops member names to initialization
Some instances of pci_ops initialization rely on the read/write members'
location in the struct. This is fragile and may break when adding new
members to the beginning of the struct.
No functional change.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/mb93090-mb00/pci-vdk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/mb93090-mb00/pci-vdk.c b/arch/frv/mb93090-mb00/pci-vdk.c index efa5d65b0007..b073f4d771a5 100644 --- a/arch/frv/mb93090-mb00/pci-vdk.c +++ b/arch/frv/mb93090-mb00/pci-vdk.c | |||
@@ -168,8 +168,8 @@ static int pci_frv_write_config(struct pci_bus *bus, unsigned int devfn, int whe | |||
168 | } | 168 | } |
169 | 169 | ||
170 | static struct pci_ops pci_direct_frv = { | 170 | static struct pci_ops pci_direct_frv = { |
171 | pci_frv_read_config, | 171 | .read = pci_frv_read_config, |
172 | pci_frv_write_config, | 172 | .write = pci_frv_write_config, |
173 | }; | 173 | }; |
174 | 174 | ||
175 | /* | 175 | /* |