diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-06-23 08:38:26 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 04:37:03 -0400 |
commit | 2b29b13c5794f648cd5e839796496704d787f5a6 (patch) | |
tree | b9753f2593aff429a8cca63e40f052a0fdd6aedb /include/sound | |
parent | c461482c8072bb073e6146db320d3da85cdc89ad (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/sound')
-rw-r--r-- | include/sound/core.h | 3 |
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, | |||
245 | int snd_card_disconnect(struct snd_card *card); | 243 | int snd_card_disconnect(struct snd_card *card); |
246 | int snd_card_free(struct snd_card *card); | 244 | int snd_card_free(struct snd_card *card); |
247 | int snd_card_free_when_closed(struct snd_card *card); | 245 | int snd_card_free_when_closed(struct snd_card *card); |
248 | int snd_card_free_in_thread(struct snd_card *card); | ||
249 | int snd_card_register(struct snd_card *card); | 246 | int snd_card_register(struct snd_card *card); |
250 | int snd_card_info_init(void); | 247 | int snd_card_info_init(void); |
251 | int snd_card_info_done(void); | 248 | int snd_card_info_done(void); |