ALSA: use subsys_initcall for sound core instead of module_init
commit752405585c1e0b540b209d6ad2aadebe1823ccc0
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sat, 3 Sep 2011 18:49:19 +0000 (3 15:49 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 13 Nov 2011 17:08:49 +0000 (13 15:08 -0200)
tree884b9b603ba79f4819e0c1f7551bbe648b64e255
parenta606cac51915f092c2450f0225c7392badb3e288
ALSA: use subsys_initcall for sound core instead of module_init

commit c181a13a41ef32c9037393f4b42b780e1a36eb91 upstream.

This is needed for built-in drivers which are built before the sound directory,
like thinkpad_acpi.

Otherwise, registering a card fails.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/sound.c
sound/sound_core.c