mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
6675ef212d
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pci-exynos.c | ||
pci-host-generic.c | ||
pci-imx6.c | ||
pci-mvebu.c | ||
pci-rcar-gen2.c | ||
pci-tegra.c | ||
pcie-designware.c | ||
pcie-designware.h | ||
pcie-rcar.c | ||
pcie-spear13xx.c |