diff options
author | Takashi Iwai <tiwai@alsa3.local> | 2008-12-28 16:32:08 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-12 14:56:41 +0100 |
commit | 53fb1e63599438bd5f6fbb852023d80916d83983 (patch) | |
tree | 9fdf278a517805b11a977ce69ffbf61298ba0aac /sound/isa/opl3sa2.c | |
parent | c59765042f53a79a7a65585042ff463b69cb248c (diff) | |
download | linux-53fb1e63599438bd5f6fbb852023d80916d83983.tar.gz linux-53fb1e63599438bd5f6fbb852023d80916d83983.tar.bz2 linux-53fb1e63599438bd5f6fbb852023d80916d83983.zip |
ALSA: Introduce snd_card_create()
Introduced snd_card_create() function as a replacement of snd_card_new().
The new function returns a negative error code so that the probe callback
can return the proper error code, while snd_card_new() can give only NULL
check.
The old snd_card_new() is still provided as an inline function but with
__deprecated attribute. It'll be removed soon later.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/opl3sa2.c')
0 files changed, 0 insertions, 0 deletions