]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/PCI: Add struct pci_ops member names to initialization
authorRob Herring <robh@kernel.org>
Sat, 10 Jan 2015 02:34:38 +0000 (20:34 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 22 Jan 2015 19:58:43 +0000 (13:58 -0600)
commit91099daddb4a29adccf2beb66a160d1c026fb47e
tree64904e66d9d9b9eaee6c5d4f2a7b609f36178b66
parent100d8a0bc798cd78180cb0cb09dac3b82a44dfed
powerpc/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: Arnd Bergmann <arnd@arndb.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Paul Mackerras <paulus@samba.org>
CC: Michael Ellerman <mpe@ellerman.id.au>
CC: linuxppc-dev@lists.ozlabs.org
CC: cbe-oss-dev@lists.ozlabs.org
arch/powerpc/platforms/cell/celleb_scc_pciex.c