Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1672099
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again |
| Date | 2017-06-22 00:00 +0200 |
| Message-ID | <tUVPk-3BI-29@gated-at.bofh.it> (permalink) |
| References | <tUVPj-3BI-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
We used to pass the operations when calling pci_scan_root_bus, but
that argument was removed:
arch/arm/mach-mv78xx0/pcie.c:175:23: error: 'pcie_ops' defined but not used [-Werror=unused-variable]
Setting it in pci_hw should address this.
Fixes: ace27646da8e ("ARM/PCI: Convert PCI scan API to pci_scan_root_bus_bridge()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-mv78xx0/pcie.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-mv78xx0/pcie.c b/arch/arm/mach-mv78xx0/pcie.c
index 2b406e909a43..cb7f95c9d8eb 100644
--- a/arch/arm/mach-mv78xx0/pcie.c
+++ b/arch/arm/mach-mv78xx0/pcie.c
@@ -214,6 +214,7 @@ static int __init mv78xx0_pcie_map_irq(const struct pci_dev *dev, u8 slot,
}
static struct hw_pci mv78xx0_pci __initdata = {
+ .ops = &pcie_ops,
.nr_controllers = 8,
.preinit = mv78xx0_pcie_preinit,
.setup = mv78xx0_pcie_setup,
--
2.9.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again Arnd Bergmann <arnd@arndb.de> - 2017-06-22 00:00 +0200
Re: [PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-06-22 11:40 +0200
Re: [PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again Bjorn Helgaas <helgaas@kernel.org> - 2017-06-28 01:20 +0200
Re: [PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2017-07-01 16:00 +0200
Re: [PATCH 2/4] ARM/PCI: mv78xx0: pass pci_ops correctly again Bjorn Helgaas <helgaas@kernel.org> - 2017-07-02 23:20 +0200
csiph-web