diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index ce3661d07c24..f86e455d3828 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -161,6 +161,8 @@ extern struct snd_ac97_bus_ops soc_ac97_ops; | |||
161 | 161 | ||
162 | int snd_soc_register_platform(struct snd_soc_platform *platform); | 162 | int snd_soc_register_platform(struct snd_soc_platform *platform); |
163 | void snd_soc_unregister_platform(struct snd_soc_platform *platform); | 163 | void snd_soc_unregister_platform(struct snd_soc_platform *platform); |
164 | int snd_soc_register_codec(struct snd_soc_codec *codec); | ||
165 | void snd_soc_unregister_codec(struct snd_soc_codec *codec); | ||
164 | 166 | ||
165 | /* pcm <-> DAI connect */ | 167 | /* pcm <-> DAI connect */ |
166 | void snd_soc_free_pcms(struct snd_soc_device *socdev); | 168 | void snd_soc_free_pcms(struct snd_soc_device *socdev); |
@@ -247,6 +249,9 @@ struct snd_soc_codec { | |||
247 | char *name; | 249 | char *name; |
248 | struct module *owner; | 250 | struct module *owner; |
249 | struct mutex mutex; | 251 | struct mutex mutex; |
252 | struct device *dev; | ||
253 | |||
254 | struct list_head list; | ||
250 | 255 | ||
251 | /* callbacks */ | 256 | /* callbacks */ |
252 | int (*set_bias_level)(struct snd_soc_codec *, | 257 | int (*set_bias_level)(struct snd_soc_codec *, |