diff options
author | Jaroslav Kysela <perex@perex.cz> | 2008-11-12 10:31:37 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-12 11:07:37 -0500 |
commit | c2eb9c4ea383aee154e7139395872c4da629e715 (patch) | |
tree | 1a041003b3260354b6ad5e0ca728ff614f10ca01 /include/sound | |
parent | 9fb6198e8c574c6547fbfac0ae1eaf7894ddfdcc (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')
-rw-r--r-- | include/sound/info.h | 2 |
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); | |||
126 | int snd_info_card_register(struct snd_card * card); | 126 | int snd_info_card_register(struct snd_card * card); |
127 | int snd_info_card_free(struct snd_card * card); | 127 | int snd_info_card_free(struct snd_card * card); |
128 | void snd_info_card_disconnect(struct snd_card * card); | 128 | void snd_info_card_disconnect(struct snd_card * card); |
129 | void snd_info_card_id_change(struct snd_card * card); | ||
129 | int snd_info_register(struct snd_info_entry * entry); | 130 | int 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; } | |||
160 | static inline int snd_info_card_register(struct snd_card * card) { return 0; } | 161 | static inline int snd_info_card_register(struct snd_card * card) { return 0; } |
161 | static inline int snd_info_card_free(struct snd_card * card) { return 0; } | 162 | static inline int snd_info_card_free(struct snd_card * card) { return 0; } |
162 | static inline void snd_info_card_disconnect(struct snd_card * card) { } | 163 | static inline void snd_info_card_disconnect(struct snd_card * card) { } |
164 | static inline void snd_info_card_id_change(struct snd_card * card) { } | ||
163 | static inline int snd_info_register(struct snd_info_entry * entry) { return 0; } | 165 | static inline int snd_info_register(struct snd_info_entry * entry) { return 0; } |
164 | 166 | ||
165 | static inline int snd_card_proc_new(struct snd_card *card, const char *name, | 167 | static inline int snd_card_proc_new(struct snd_card *card, const char *name, |