On Mon, Aug 26, 2019 at 12:58:28PM +0300, Ilie Halip wrote: > A previous commit removed __init from weim_probe(), but this attribute is > still present for other functions called from it. Thus, these warnings > are triggered: > WARNING: Section mismatch in reference from the function weim_probe() to > the function .init.text:imx_weim_gpr_setup() > WARNING: Section mismatch in reference from the function weim_probe() to > the function .init.text:weim_timing_setup() > > Remove the __init attribute from these functions as well, since they > don't seem to be used anywhere else. > > Signed-off-by: Ilie Halip <ilie.ha...@gmail.com> > Reported-by: "kernelci.org bot" <b...@kernelci.org> > Cc: Sascha Hauer <s.ha...@pengutronix.de> > Cc: Shawn Guo <shawn...@kernel.org> > Cc: clang-built-li...@googlegroups.com > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org
Reviewed-by: Nathan Chancellor <natechancel...@gmail.com>