aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-06-23 08:38:26 -0400
committerJaroslav Kysela <perex@suse.cz>2006-09-23 04:37:03 -0400
commit2b29b13c5794f648cd5e839796496704d787f5a6 (patch)
treeb9753f2593aff429a8cca63e40f052a0fdd6aedb /include
parentc461482c8072bb073e6146db320d3da85cdc89ad (diff)
[ALSA] Deprecate snd_card_free_in_thread()
Deprecated snd_card_free_in_thread(), replaced with snd_card_free_when_closed(). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/sound/core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index cf4001cf6248..1359c532b68e 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -25,7 +25,6 @@
25#include <linux/sched.h> /* wake_up() */ 25#include <linux/sched.h> /* wake_up() */
26#include <linux/mutex.h> /* struct mutex */ 26#include <linux/mutex.h> /* struct mutex */
27#include <linux/rwsem.h> /* struct rw_semaphore */ 27#include <linux/rwsem.h> /* struct rw_semaphore */
28#include <linux/workqueue.h> /* struct workqueue_struct */
29#include <linux/pm.h> /* pm_message_t */ 28#include <linux/pm.h> /* pm_message_t */
30 29
31/* forward declarations */ 30/* forward declarations */
@@ -132,7 +131,6 @@ struct snd_card {
132 int shutdown; /* this card is going down */ 131 int shutdown; /* this card is going down */
133 int free_on_last_close; /* free in context of file_release */ 132 int free_on_last_close; /* free in context of file_release */
134 wait_queue_head_t shutdown_sleep; 133 wait_queue_head_t shutdown_sleep;
135 struct work_struct free_workq; /* for free in workqueue */
136 struct device *dev; 134 struct device *dev;
137 135
138#ifdef CONFIG_PM 136#ifdef CONFIG_PM
@@ -245,7 +243,6 @@ struct snd_card *snd_card_new(int idx, const char *id,
245int snd_card_disconnect(struct snd_card *card); 243int snd_card_disconnect(struct snd_card *card);
246int snd_card_free(struct snd_card *card); 244int snd_card_free(struct snd_card *card);
247int snd_card_free_when_closed(struct snd_card *card); 245int snd_card_free_when_closed(struct snd_card *card);
248int snd_card_free_in_thread(struct snd_card *card);
249int snd_card_register(struct snd_card *card); 246int snd_card_register(struct snd_card *card);
250int snd_card_info_init(void); 247int snd_card_info_init(void);
251int snd_card_info_done(void); 248int snd_card_info_done(void);