|
@@ -452,7 +452,9 @@ int snd_soc_platform_read(struct snd_soc_platform *platform,
|
|
|
int snd_soc_platform_write(struct snd_soc_platform *platform,
|
|
|
unsigned int reg, unsigned int val);
|
|
|
int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
|
|
|
-int soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num);
|
|
|
+#ifdef CONFIG_SND_SOC_COMPRESS
|
|
|
+int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num);
|
|
|
+#endif
|
|
|
|
|
|
struct snd_pcm_substream *snd_soc_get_dai_substream(struct snd_soc_card *card,
|
|
|
const char *dai_link, int stream);
|
|
@@ -605,7 +607,7 @@ int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_ctl_elem_value *ucontrol);
|
|
|
int snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_ctl_elem_value *ucontrol);
|
|
|
-int snd_soc_limit_volume(struct snd_soc_codec *codec,
|
|
|
+int snd_soc_limit_volume(struct snd_soc_card *card,
|
|
|
const char *name, int max);
|
|
|
int snd_soc_bytes_info(struct snd_kcontrol *kcontrol,
|
|
|
struct snd_ctl_elem_info *uinfo);
|