ALSA: use subsys_initcall for sound core instead of module_init
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 12 Jan 2010 22:20:39 +0000 (20:20 -0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Jan 2010 20:21:47 +0000 (21:21 +0100)
commitc181a13a41ef32c9037393f4b42b780e1a36eb91
tree384652a93f64c254757c5cddbefe92fa10ce1a69
parent7284ce6c9f6153d1777df5f310c959724d1bd446
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