aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-05-23 03:57:55 -0400
committerTakashi Iwai <tiwai@suse.de>2014-05-23 03:57:55 -0400
commit038b8455db9e08f295cb39cda7bec9c2e8e8674d (patch)
treec96a771e070eab8275896defa2bcee5e54528f6a
parent0c1d1210160f560841a48641d41b61ec7d05edb2 (diff)
ALSA: Remove deprecated snd_card_create()
Now all calls have been fixed, let's get rid of the old definition. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/core.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index d3f5f818e0b9..eedda2cdfe57 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -282,13 +282,6 @@ int snd_card_new(struct device *parent, int idx, const char *xid,
282 struct module *module, int extra_size, 282 struct module *module, int extra_size,
283 struct snd_card **card_ret); 283 struct snd_card **card_ret);
284 284
285static inline int __deprecated
286snd_card_create(int idx, const char *id, struct module *module, int extra_size,
287 struct snd_card **ret)
288{
289 return snd_card_new(NULL, idx, id, module, extra_size, ret);
290}
291
292int snd_card_disconnect(struct snd_card *card); 285int snd_card_disconnect(struct snd_card *card);
293int snd_card_free(struct snd_card *card); 286int snd_card_free(struct snd_card *card);
294int snd_card_free_when_closed(struct snd_card *card); 287int snd_card_free_when_closed(struct snd_card *card);