diff options
author | Sachin Kamat <[email protected]> | 2014-05-28 15:18:45 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2014-05-29 16:16:07 -0600 |
commit | 17d7acc8e1c81f8125730aa900c67412a2ac69e2 (patch) | |
tree | df7fb012691002feef2639e0d2e85038386fe135 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 755ba5e406e5ddd876e85a881dc50c7f54a8fd6b (diff) |
PCI: exynos: Fix add_pcie_port() section mismatch warning
add_pcie_port() is called only from exynos_pcie_probe(), which is annotated
with __init. Thus it makes sense to annotate add_pcie_port() with __init
to avoid the following section mismatch warning:
WARNING: drivers/pci/built-in.o(.text.unlikely+0xf8): Section mismatch in reference from the function add_pcie_port() to the function .init.text:dw_pcie_host_init()
The function add_pcie_port() references
the function __init dw_pcie_host_init().
This is often because add_pcie_port lacks a __init
annotation or the annotation of dw_pcie_host_init is wrong.
[bhelgaas: changelog]
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions