alistair23-linux/drivers/pci
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
..
host PCI: spear: Drop __initdata from spear13xx_pcie_driver 2015-03-06 11:47:28 -06:00
hotplug ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00
pcie Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
access.c PCI: Add generic config accessors 2015-01-22 13:59:45 -06:00
ats.c
bus.c PCI: Use common resource list management code instead of private implementation 2015-02-05 15:09:25 +01:00
host-bridge.c PCI: Use common resource list management code instead of private implementation 2015-02-05 15:09:25 +01:00
hotplug-pci.c
htirq.c
iov.c
irq.c
Kconfig x86, irq: Make MSI and HT_IRQ indepenent of X86_IO_APIC 2014-12-16 14:08:17 +01:00
Makefile PCI: Remove PCI ioapic driver 2014-12-16 14:08:14 +01:00
msi.c PCI: Fail MSI-X mappings if there's no space assigned to MSI-X BAR 2015-01-28 09:25:57 -06:00
of.c
pci-acpi.c PCI / PM: Avoid resuming PCI devices during system suspend 2015-01-23 22:13:54 +01:00
pci-driver.c ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00
pci-label.c
pci-stub.c
pci-sysfs.c PCI: Don't read past the end of sysfs "driver_override" buffer 2015-02-24 17:35:37 -06:00
pci.c ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00
pci.h Merge branches 'pm-pci' and 'pm-cpuidle' 2015-02-10 16:07:10 +01:00
probe.c PCI: Use common resource list management code instead of private implementation 2015-02-05 15:09:25 +01:00
proc.c
quirks.c PCI changes for the v3.20 merge window: 2015-02-10 14:31:28 -08:00
remove.c
rom.c PCI: Fix infinite loop with ROM image of size 0 2015-01-23 17:42:59 -06:00
search.c
setup-bus.c PCI: Add pci_claim_bridge_resource() to clip window if necessary 2015-01-16 10:04:42 -06:00
setup-irq.c
setup-res.c
slot.c
syscall.c
vc.c
vpd.c
xen-pcifront.c