aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/info.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-11-12 10:31:37 -0500
committerTakashi Iwai <tiwai@suse.de>2008-11-12 11:07:37 -0500
commitc2eb9c4ea383aee154e7139395872c4da629e715 (patch)
tree1a041003b3260354b6ad5e0ca728ff614f10ca01 /include/sound/info.h
parent9fb6198e8c574c6547fbfac0ae1eaf7894ddfdcc (diff)
ALSA: when card identification is changed, change also /proc/asound symlink
Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/info.h')
-rw-r--r--include/sound/info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/info.h b/include/sound/info.h
index 8ae72e74f898..46f702a76e4f 100644
--- a/include/sound/info.h
+++ b/include/sound/info.h
@@ -126,6 +126,7 @@ int snd_info_card_create(struct snd_card * card);
126int snd_info_card_register(struct snd_card * card); 126int snd_info_card_register(struct snd_card * card);
127int snd_info_card_free(struct snd_card * card); 127int snd_info_card_free(struct snd_card * card);
128void snd_info_card_disconnect(struct snd_card * card); 128void snd_info_card_disconnect(struct snd_card * card);
129void snd_info_card_id_change(struct snd_card * card);
129int snd_info_register(struct snd_info_entry * entry); 130int snd_info_register(struct snd_info_entry * entry);
130 131
131/* for card drivers */ 132/* for card drivers */
@@ -160,6 +161,7 @@ static inline int snd_info_card_create(struct snd_card * card) { return 0; }
160static inline int snd_info_card_register(struct snd_card * card) { return 0; } 161static inline int snd_info_card_register(struct snd_card * card) { return 0; }
161static inline int snd_info_card_free(struct snd_card * card) { return 0; } 162static inline int snd_info_card_free(struct snd_card * card) { return 0; }
162static inline void snd_info_card_disconnect(struct snd_card * card) { } 163static inline void snd_info_card_disconnect(struct snd_card * card) { }
164static inline void snd_info_card_id_change(struct snd_card * card) { }
163static inline int snd_info_register(struct snd_info_entry * entry) { return 0; } 165static inline int snd_info_register(struct snd_info_entry * entry) { return 0; }
164 166
165static inline int snd_card_proc_new(struct snd_card *card, const char *name, 167static inline int snd_card_proc_new(struct snd_card *card, const char *name,