]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: Add struct pci_ops member names to initialization
authorRob Herring <robh@kernel.org>
Sat, 10 Jan 2015 02:34:36 +0000 (20:34 -0600)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 16 Jan 2015 14:04:38 +0000 (15:04 +0100)
commit7b09777c187dcbe3e0f4f53890eb2f6953801d88
tree8f1a131f68d8f83d53e322e2c7b21c4883edb6d8
parent250215ccf6def938f7b4f037185b8277eb54bcda
MIPS: 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.

[ralf@linux-mips.org: indent = with tabs for consistency.]

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-pci@vger.kernel.org
Cc: Bjorn Helgaas <bhelgaas@google.com>
Patchwork: https://patchwork.linux-mips.org/patch/8915/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-bcm1480.c
arch/mips/pci/pci-octeon.c
arch/mips/pci/pcie-octeon.c