diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-05-23 03:57:55 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-23 03:57:55 -0400 |
commit | 038b8455db9e08f295cb39cda7bec9c2e8e8674d (patch) | |
tree | c96a771e070eab8275896defa2bcee5e54528f6a | |
parent | 0c1d1210160f560841a48641d41b61ec7d05edb2 (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.h | 7 |
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 | ||
285 | static inline int __deprecated | ||
286 | snd_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 | |||
292 | int snd_card_disconnect(struct snd_card *card); | 285 | int snd_card_disconnect(struct snd_card *card); |
293 | int snd_card_free(struct snd_card *card); | 286 | int snd_card_free(struct snd_card *card); |
294 | int snd_card_free_when_closed(struct snd_card *card); | 287 | int snd_card_free_when_closed(struct snd_card *card); |