summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-11-12 16:31:37 +0100
committerTakashi Iwai <tiwai@suse.de>2008-11-12 17:07:37 +0100
commitc2eb9c4ea383aee154e7139395872c4da629e715 (patch)
tree1a041003b3260354b6ad5e0ca728ff614f10ca01 /include/sound
parent9fb6198e8c574c6547fbfac0ae1eaf7894ddfdcc (diff)
downloadlinux-3.10-c2eb9c4ea383aee154e7139395872c4da629e715.tar.gz
linux-3.10-c2eb9c4ea383aee154e7139395872c4da629e715.tar.bz2
linux-3.10-c2eb9c4ea383aee154e7139395872c4da629e715.zip
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/info.h b/include/sound/info.h
index 8ae72e74f89..46f702a76e4 100644
--- a/include/sound/info.h
+++ b/include/sound/info.h
@@ -126,6 +126,7 @@ int snd_info_card_create(struct snd_card * card);
int snd_info_card_register(struct snd_card * card);
int snd_info_card_free(struct snd_card * card);
void snd_info_card_disconnect(struct snd_card * card);
+void snd_info_card_id_change(struct snd_card * card);
int snd_info_register(struct snd_info_entry * entry);
/* for card drivers */
@@ -160,6 +161,7 @@ static inline int snd_info_card_create(struct snd_card * card) { return 0; }
static inline int snd_info_card_register(struct snd_card * card) { return 0; }
static inline int snd_info_card_free(struct snd_card * card) { return 0; }
static inline void snd_info_card_disconnect(struct snd_card * card) { }
+static inline void snd_info_card_id_change(struct snd_card * card) { }
static inline int snd_info_register(struct snd_info_entry * entry) { return 0; }
static inline int snd_card_proc_new(struct snd_card *card, const char *name,