summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-imx7.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-19 08:38:29 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-10-01 19:16:23 +0300
commit6870b673509779195cab300aedc844b352d9cfbc (patch)
treee1ece5e3b4212538aa02ca7f73d81a7ce444e5c1 /drivers/reset/reset-imx7.c
parent726d75a6d243bf6730da3216f3592503f6f0f588 (diff)
downloadlinux-6870b673509779195cab300aedc844b352d9cfbc.tar.xz
PCI: kirin: Fix section mismatch warning
The PCI kirin driver compilation produces the following section mismatch warning: WARNING: vmlinux.o(.text+0x4758cc): Section mismatch in reference from the function kirin_pcie_probe() to the function .init.text:kirin_add_pcie_port() The function kirin_pcie_probe() references the function __init kirin_add_pcie_port(). This is often because kirin_pcie_probe lacks a __init annotation or the annotation of kirin_add_pcie_port is wrong. Remove '__init' from kirin_add_pcie_port() to fix it. Fixes: fc5165db245a ("PCI: kirin: Add HiSilicon Kirin SoC PCIe controller driver") Reported-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/reset/reset-imx7.c')
0 files changed, 0 insertions, 0 deletions