Home
last modified time | relevance | path

Searched hist:b8909783a22b4f169ade830e0aa6dafe313426f1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/fsl/
H A Dimx-audmux.cdiff b8909783a22b4f169ade830e0aa6dafe313426f1 Thu Apr 24 01:25:56 CDT 2014 Lars-Peter Clausen <lars@metafoo.de> 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 <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>