summaryrefslogtreecommitdiffstats
path: root/drivers/edac/i82875p_edac.c
diff options
context:
space:
mode:
authorSachin Kamat2014-05-28 11:48:45 +0200
committerBjorn Helgaas2014-05-30 00:16:07 +0200
commit17d7acc8e1c81f8125730aa900c67412a2ac69e2 (patch)
treedf7fb012691002feef2639e0d2e85038386fe135 /drivers/edac/i82875p_edac.c
parentPCI: exynos: Remove unnecessary OOM messages (diff)
downloadkernel-qcow2-linux-17d7acc8e1c81f8125730aa900c67412a2ac69e2.tar.gz
kernel-qcow2-linux-17d7acc8e1c81f8125730aa900c67412a2ac69e2.tar.xz
kernel-qcow2-linux-17d7acc8e1c81f8125730aa900c67412a2ac69e2.zip
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 <fengguang.wu@intel.com> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Jingoo Han <jg1.han@samsung.com>
Diffstat (limited to 'drivers/edac/i82875p_edac.c')
0 files changed, 0 insertions, 0 deletions