ASoC: imx: imx-audmux: Fix section mismatch
commitfb97624ad61f734837998b316cc4eb1cf899900f
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 7 Mar 2012 18:19:57 +0000 (7 15:19 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 7 Mar 2012 19:32:39 +0000 (7 19:32 +0000)
tree672c6de80ae53defe00e227af87199970acf1064
parent66bf93212f19548f5ed221356b2d70189cc18254
ASoC: imx: imx-audmux: Fix section mismatch

Fix the following section mismatch warning:

WARNING: vmlinux.o(.data+0x35be8): Section mismatch in reference from the variable imx_audmux_driver to the function .init.text:imx_audmux_probe()
The variable imx_audmux_driver references
the function __init imx_audmux_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/imx/imx-audmux.c