ALSA: use subsys_initcall for sound core instead of module_init
commit700bc667ceccce51f4b96007ffec610696f94de8
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 7 Feb 2010 23:39:41 +0000 (7 21:39 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 20 Feb 2010 22:03:51 +0000 (20 20:03 -0200)
treee0aff76f95bcb6fca824b43d2d3302893a33f802
parent1e96094934c109d8361581bc6ed99b81f69a2f20
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