diff options
Diffstat (limited to 'include/sound/core.h')
-rw-r--r-- | include/sound/core.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 3dea79829acc..309cb9659a05 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -300,19 +300,10 @@ int snd_card_create(int idx, const char *id, | |||
300 | struct module *module, int extra_size, | 300 | struct module *module, int extra_size, |
301 | struct snd_card **card_ret); | 301 | struct snd_card **card_ret); |
302 | 302 | ||
303 | static inline __deprecated | ||
304 | struct snd_card *snd_card_new(int idx, const char *id, | ||
305 | struct module *module, int extra_size) | ||
306 | { | ||
307 | struct snd_card *card; | ||
308 | if (snd_card_create(idx, id, module, extra_size, &card) < 0) | ||
309 | return NULL; | ||
310 | return card; | ||
311 | } | ||
312 | |||
313 | int snd_card_disconnect(struct snd_card *card); | 303 | int snd_card_disconnect(struct snd_card *card); |
314 | int snd_card_free(struct snd_card *card); | 304 | int snd_card_free(struct snd_card *card); |
315 | int snd_card_free_when_closed(struct snd_card *card); | 305 | int snd_card_free_when_closed(struct snd_card *card); |
306 | void snd_card_set_id(struct snd_card *card, const char *id); | ||
316 | int snd_card_register(struct snd_card *card); | 307 | int snd_card_register(struct snd_card *card); |
317 | int snd_card_info_init(void); | 308 | int snd_card_info_init(void); |
318 | int snd_card_info_done(void); | 309 | int snd_card_info_done(void); |