forked from luck/tmp_suning_uos_patched
ALSA: Remove deprecated snd_card_new()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d91dfbb41b
commit
cd474f2d54
|
@ -300,16 +300,6 @@ int snd_card_create(int idx, const char *id,
|
|||
struct module *module, int extra_size,
|
||||
struct snd_card **card_ret);
|
||||
|
||||
static inline __deprecated
|
||||
struct snd_card *snd_card_new(int idx, const char *id,
|
||||
struct module *module, int extra_size)
|
||||
{
|
||||
struct snd_card *card;
|
||||
if (snd_card_create(idx, id, module, extra_size, &card) < 0)
|
||||
return NULL;
|
||||
return card;
|
||||
}
|
||||
|
||||
int snd_card_disconnect(struct snd_card *card);
|
||||
int snd_card_free(struct snd_card *card);
|
||||
int snd_card_free_when_closed(struct snd_card *card);
|
||||
|
|
Loading…
Reference in New Issue
Block a user