2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/pci/host
Matwey V. Kornilov a43f32d647 PCI: spear: Drop __initdata from spear13xx_pcie_driver
Struct spear13xx_pcie_driver was in initdata, but we passed a pointer to it
to platform_driver_register(), which can use the pointer at arbitrary times
in the future, even after the initdata is freed.  That leads to crashes.

Move spear13xx_pcie_driver and things referenced by it
(spear13xx_pcie_probe() and dw_pcie_host_init()) out of initdata.

[bhelgaas: changelog]
Fixes: 6675ef212d ("PCI: spear: Fix Section mismatch compilation warning for probe()")
Signed-off-by: Matwey V. Kornilov <matwey@sai.msu.ru>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
CC: stable@vger.kernel.org	# v3.17+
2015-03-06 11:47:28 -06:00
..
Kconfig PCI: versatile: Add DT-based ARM Versatile PB PCIe host driver 2015-01-29 08:33:18 -06:00
Makefile PCI: versatile: Add DT-based ARM Versatile PB PCIe host driver 2015-01-29 08:33:18 -06:00
pci-dra7xx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-exynos.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-host-generic.c ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00
pci-imx6.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
pci-keystone-dw.c PCI changes for the v3.19 merge window: 2014-12-10 20:58:52 -08:00
pci-keystone.c PCI: keystone: Fix misspelling of current function in debug output 2015-01-09 11:30:32 -07:00
pci-keystone.h PCI/MSI: Rename "struct msi_chip" to "struct msi_controller" 2014-11-12 07:49:38 -07:00
pci-layerscape.c PCI: layerscape: Fix platform_no_drv_owner.cocci warnings 2014-12-26 16:25:11 -07:00
pci-mvebu.c ARM/PCI: Move to generic PCI domains 2014-12-27 18:19:18 -07:00
pci-rcar-gen2.c PCI: rcar: Convert to use generic config accessors 2015-01-30 16:14:43 -06:00
pci-tegra.c Merge branch 'pci/config' into next 2015-02-02 14:49:29 -06:00
pci-versatile.c ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00
pci-xgene.c PCI: xgene: Add register offset to config space base address 2015-03-05 22:14:21 -06:00
pcie-designware.c PCI: spear: Drop __initdata from spear13xx_pcie_driver 2015-03-06 11:47:28 -06:00
pcie-designware.h PCI/MSI: Rename "struct msi_chip" to "struct msi_controller" 2014-11-12 07:49:38 -07:00
pcie-rcar.c Merge branches 'pci/host-keystone', 'pci/host-layerscape', 'pci/host-rcar' and 'pci/host-tegra' into next 2014-12-29 09:09:46 -07:00
pcie-spear13xx.c PCI: spear: Drop __initdata from spear13xx_pcie_driver 2015-03-06 11:47:28 -06:00
pcie-xilinx.c ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00