Commit 6f918cef authored by Rob Herring's avatar Rob Herring Committed by Bjorn Helgaas

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
CC: David Howells <dhowells@redhat.com>
parent 97bf6af1
...@@ -168,8 +168,8 @@ static int pci_frv_write_config(struct pci_bus *bus, unsigned int devfn, int whe ...@@ -168,8 +168,8 @@ static int pci_frv_write_config(struct pci_bus *bus, unsigned int devfn, int whe
} }
static struct pci_ops pci_direct_frv = { static struct pci_ops pci_direct_frv = {
pci_frv_read_config, .read = pci_frv_read_config,
pci_frv_write_config, .write = pci_frv_write_config,
}; };
/* /*
......
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