|
@@ -462,6 +462,11 @@ struct snd_soc_component *snd_soc_lookup_component(struct device *dev,
|
|
int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
|
|
int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num);
|
|
#ifdef CONFIG_SND_SOC_COMPRESS
|
|
#ifdef CONFIG_SND_SOC_COMPRESS
|
|
int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num);
|
|
int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num);
|
|
|
|
+#else
|
|
|
|
+static inline int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
void snd_soc_disconnect_sync(struct device *dev);
|
|
void snd_soc_disconnect_sync(struct device *dev);
|