Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68436d13 authored by Rob Herring's avatar Rob Herring Committed by Bjorn Helgaas
Browse files

mn10300/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>
CC: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
CC: linux-am33-list@redhat.com
parent ab1d7f96
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -228,8 +228,8 @@ static int pci_ampci_write_config(struct pci_bus *bus, unsigned int devfn,
}

static struct pci_ops pci_direct_ampci = {
	pci_ampci_read_config,
	pci_ampci_write_config,
	.read = pci_ampci_read_config,
	.write = pci_ampci_write_config,
};

/*