diff options
author | 2014-07-20 17:29:47 +0530 | |
---|---|---|
committer | 2014-07-20 12:27:29 -0700 | |
commit | 6675ef212dac43ae8474ae690e943c83449046b4 (patch) | |
tree | b802620fd556cfadf9a113f9ced8cb64a1c7fdc5 /tools/perf/scripts/python/syscall-counts.py | |
parent | Merge tag 'tegra-for-3.17-pcie-regulators' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers (diff) | |
download | linux-dev-6675ef212dac43ae8474ae690e943c83449046b4.tar.xz linux-dev-6675ef212dac43ae8474ae690e943c83449046b4.zip |
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: 51b66a6ce125 (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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions