diff options
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 1 | ||||
-rw-r--r-- | include/sound/soc.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index b9d586442518..4158cbaa0f25 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
@@ -199,6 +199,7 @@ void snd_soc_dapm_free(struct snd_soc_device *socdev); | |||
199 | /* dapm events */ | 199 | /* dapm events */ |
200 | int snd_soc_dapm_stream_event(struct snd_soc_codec *codec, char *stream, | 200 | int snd_soc_dapm_stream_event(struct snd_soc_codec *codec, char *stream, |
201 | int event); | 201 | int event); |
202 | int snd_soc_dapm_device_event(struct snd_soc_device *socdev, int event); | ||
202 | 203 | ||
203 | /* dapm sys fs - used by the core */ | 204 | /* dapm sys fs - used by the core */ |
204 | int snd_soc_dapm_sys_add(struct device *dev); | 205 | int snd_soc_dapm_sys_add(struct device *dev); |
diff --git a/include/sound/soc.h b/include/sound/soc.h index c22c65650405..add5f948e383 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -425,6 +425,9 @@ struct snd_soc_machine { | |||
425 | int (*resume_pre)(struct platform_device *pdev); | 425 | int (*resume_pre)(struct platform_device *pdev); |
426 | int (*resume_post)(struct platform_device *pdev); | 426 | int (*resume_post)(struct platform_device *pdev); |
427 | 427 | ||
428 | /* callbacks */ | ||
429 | int (*dapm_event)(struct snd_soc_machine *, int event); | ||
430 | |||
428 | /* CPU <--> Codec DAI links */ | 431 | /* CPU <--> Codec DAI links */ |
429 | struct snd_soc_dai_link *dai_link; | 432 | struct snd_soc_dai_link *dai_link; |
430 | int num_links; | 433 | int num_links; |