From: Lars-Peter Clausen Date: Thu, 24 Apr 2014 06:25:56 +0000 (+0200) Subject: ASoC: imx-audmux: Fix section mismatch X-Git-Tag: omap-for-v3.16/fixes-against-rc1~177^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8909783a22b4f169ade830e0aa6dafe313426f1;p=pandora-kernel.git ASoC: imx-audmux: Fix section mismatch audmux_debugfs_init() is marked as __init, but is called from imx_audmux_probe() which is not marked as __init. This creates a section mismatch and a potential runtime crash (if imx_audmux_probe() is called after the .init section was dropped). This patch removes the __init annotation from audmux_debugfs_init(), which fixes the following warning: WARNING: sound/soc/built-in.o(.text+0x86960): Section mismatch in reference from the function imx_audmux_probe() to the function .init.text:audmux_debugfs_init() Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed