diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-27 20:01:22 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-03 13:26:28 +0300 |
commit | e086e3035e0691b362755d1b5e24df631eee335a (patch) | |
tree | b803d38bb739c3de78d7ed74fd99b397fa9ecfe7 /include/sound | |
parent | 61ca4107a16828559e2463e49b87002990da0b98 (diff) | |
download | linux-e086e3035e0691b362755d1b5e24df631eee335a.tar.xz |
ALSA: core: Re-add snd_device_disconnect()
Revive snd_device_disconnect() again so that it can be called from the
individual driver. This time, HD-audio will need it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index da5748289968..b12931f513f4 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -278,7 +278,8 @@ int snd_device_new(struct snd_card *card, enum snd_device_type type, void *device_data, struct snd_device_ops *ops); int snd_device_register(struct snd_card *card, void *device_data); int snd_device_register_all(struct snd_card *card); -int snd_device_disconnect_all(struct snd_card *card); +void snd_device_disconnect(struct snd_card *card, void *device_data); +void snd_device_disconnect_all(struct snd_card *card); void snd_device_free(struct snd_card *card, void *device_data); void snd_device_free_all(struct snd_card *card); |