OSDN Git Service

mn10300/PCI: Add struct pci_ops member names to initialization
authorRob Herring <robh@kernel.org>
Sat, 10 Jan 2015 02:34:37 +0000 (20:34 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 22 Jan 2015 19:57:49 +0000 (13:57 -0600)
commit68436d139f366bf8d37e02542d4778180516038e
tree9612eb38869045e5d5029179cf54ddca7d3880cb
parentab1d7f9646fe15f9f5a10c25db6ab8c76525430b
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: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: David Howells <dhowells@redhat.com>
CC: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
CC: linux-am33-list@redhat.com
arch/mn10300/unit-asb2305/pci.c