ALSA: use subsys_initcall for sound core instead of module_init
commit8d0a48a8e97ddd791c57338028e60e991f3b35a5
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 7 Feb 2010 23:52:50 +0000 (7 21:52 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 20 Feb 2010 22:01:37 +0000 (20 20:01 -0200)
treeb366267e68dd892fa6a6692ea78ba231378de45e
parent754ee1b32aa023b276d45367f8676f3e93477291
ALSA: use subsys_initcall for sound core instead of module_init

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