aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMahesh Mahadevan <r9aadq@freescale.com>2011-10-21 08:44:37 -0500
committerEric Miao <eric.miao@canonical.com>2011-11-10 07:38:49 +0800
commite002fa1917230bf83dff4374224132f404f89453 (patch)
treea85cbeed6fee2e1652afff1460649e77a0ee67fd /sound
parentc2df6ff8c63e8b4a352d7de48e364378805f131b (diff)
ENGR00160611 Update ALSA driver to initialize sooner
All ALSA sound-cards are not registered, hence change the init to regular module_init. Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/imx/imx-sgtl5000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-sgtl5000.c b/sound/soc/imx/imx-sgtl5000.c
index 3fd0aa211ae..b59abf20d08 100644
--- a/sound/soc/imx/imx-sgtl5000.c
+++ b/sound/soc/imx/imx-sgtl5000.c
@@ -390,7 +390,7 @@ static void __exit imx_sgtl5000_exit(void)
platform_device_unregister(imx_sgtl5000_snd_device);
}
-late_initcall(imx_sgtl5000_init);
+module_init(imx_sgtl5000_init);
module_exit(imx_sgtl5000_exit);
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");