aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-09 13:17:44 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-09 13:17:44 -0400
commit3cfb2f7976a2f9cfe48eda4e6d7e4ce74fee09e3 (patch)
tree7fd3b5a0113d4542ba896214d68084ab3ec37ae3 /drivers/pci/host
parent20624d17963c737bbd9f242402bf3136cb664d10 (diff)
parentd10b730f97a7f1fa58c9ec300828f87157cd6b95 (diff)
Merge tag 'pci-v4.0-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fixes from Bjorn Helgaas: "Here are some fixes for v4.0. I apologize for how late they are. We were hoping for some better fixes, but couldn't get them polished in time. These fix: - a Xen domU oops with PCI passthrough devices - a sparc T5 boot failure - a STM SPEAr13xx crash (use after initdata freed) - a cpcihp hotplug driver thinko - an AER thinko that printed stack junk Details: Enumeration - Don't look for ACPI hotplug parameters if ACPI is disabled (Bjorn Helgaas) Resource management - Revert "sparc/PCI: Clip bridge windows to fit in upstream windows" (Bjorn Helgaas) AER - Avoid info leak in __print_tlp_header() (Rasmus Villemoes) PCI device hotplug - Add missing curly braces in cpci_configure_slot() (Dan Carpenter) ST Microelectronics SPEAr13xx host bridge driver - Drop __initdata from spear13xx_pcie_driver (Matwey V. Kornilov) * tag 'pci-v4.0-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: Revert "sparc/PCI: Clip bridge windows to fit in upstream windows" PCI: Don't look for ACPI hotplug parameters if ACPI is disabled PCI: cpcihp: Add missing curly braces in cpci_configure_slot() PCI/AER: Avoid info leak in __print_tlp_header() PCI: spear: Drop __initdata from spear13xx_pcie_driver
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pcie-designware.c2
-rw-r--r--drivers/pci/host/pcie-spear13xx.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index 1f4ea6f2d910..2e9f84fdd9ce 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -342,7 +342,7 @@ static const struct irq_domain_ops msi_domain_ops = {
342 .map = dw_pcie_msi_map, 342 .map = dw_pcie_msi_map,
343}; 343};
344 344
345int __init dw_pcie_host_init(struct pcie_port *pp) 345int dw_pcie_host_init(struct pcie_port *pp)
346{ 346{
347 struct device_node *np = pp->dev->of_node; 347 struct device_node *np = pp->dev->of_node;
348 struct platform_device *pdev = to_platform_device(pp->dev); 348 struct platform_device *pdev = to_platform_device(pp->dev);
diff --git a/drivers/pci/host/pcie-spear13xx.c b/drivers/pci/host/pcie-spear13xx.c
index 866465fd3dbf..020d78890719 100644
--- a/drivers/pci/host/pcie-spear13xx.c
+++ b/drivers/pci/host/pcie-spear13xx.c
@@ -269,7 +269,7 @@ static struct pcie_host_ops spear13xx_pcie_host_ops = {
269 .host_init = spear13xx_pcie_host_init, 269 .host_init = spear13xx_pcie_host_init,
270}; 270};
271 271
272static int __init spear13xx_add_pcie_port(struct pcie_port *pp, 272static int spear13xx_add_pcie_port(struct pcie_port *pp,
273 struct platform_device *pdev) 273 struct platform_device *pdev)
274{ 274{
275 struct device *dev = &pdev->dev; 275 struct device *dev = &pdev->dev;
@@ -299,7 +299,7 @@ static int __init spear13xx_add_pcie_port(struct pcie_port *pp,
299 return 0; 299 return 0;
300} 300}
301 301
302static int __init spear13xx_pcie_probe(struct platform_device *pdev) 302static int spear13xx_pcie_probe(struct platform_device *pdev)
303{ 303{
304 struct spear13xx_pcie *spear13xx_pcie; 304 struct spear13xx_pcie *spear13xx_pcie;
305 struct pcie_port *pp; 305 struct pcie_port *pp;
@@ -370,7 +370,7 @@ static const struct of_device_id spear13xx_pcie_of_match[] = {
370}; 370};
371MODULE_DEVICE_TABLE(of, spear13xx_pcie_of_match); 371MODULE_DEVICE_TABLE(of, spear13xx_pcie_of_match);
372 372
373static struct platform_driver spear13xx_pcie_driver __initdata = { 373static struct platform_driver spear13xx_pcie_driver = {
374 .probe = spear13xx_pcie_probe, 374 .probe = spear13xx_pcie_probe,
375 .driver = { 375 .driver = {
376 .name = "spear-pcie", 376 .name = "spear-pcie",