linux/drivers/pci/host
Viresh Kumar 6675ef212d PCI: spear: Fix Section mismatch compilation warning for probe()
Following compilation warning occurs when compiled with:
CONFIG_DEBUG_SECTION_MISMATCH=y

 WARNING: drivers/pci/host/built-in.o(.data+0xc0): Section mismatch in
 reference from the variable spear13xx_pcie_driver to the function
 .init.text:spear13xx_pcie_probe()

Both .probe() and pcie_init() are marked with __init, but spear13xx_pcie_driver
isn't. And so section mismatch.

Fix it by marking spear13xx_pcie_driver with __initdata.

Fixes: 51b66a6ce1 (PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx)
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2014-07-20 12:27:29 -07:00
..
Kconfig PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx 2014-07-14 10:30:39 +05:30
Makefile PCI: spear: Add PCIe driver for ST Microelectronics SPEAr13xx 2014-07-14 10:30:39 +05:30
pci-exynos.c Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pci-host-generic.c PCI: generic: Add generic PCI host controller driver 2014-05-30 11:34:49 -06:00
pci-imx6.c Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pci-mvebu.c PCI: Whitespace cleanup 2014-06-10 20:20:19 -06:00
pci-rcar-gen2.c PCI: rcar: Add gen2 device tree support 2014-05-28 07:47:55 -06:00
pci-tegra.c PCI: tegra: Implement accurate power supply scheme 2014-07-18 11:20:03 +02:00
pcie-designware.c Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pcie-designware.h Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and 'pci/host-tegra' into next 2014-06-03 08:45:42 -06:00
pcie-rcar.c PCI: Merge multi-line quoted strings 2014-06-10 20:20:42 -06:00
pcie-spear13xx.c PCI: spear: Fix Section mismatch compilation warning for probe() 2014-07-20 12:27:29 -07:00