Commit f18ad9ca authored by Ranjani Sridharan's avatar Ranjani Sridharan Committed by Mark Brown

ASoC: SOF: pcm: remove unnecessary function declaration

sof_pcm_setup_connected_widgets() can be a static function in pcm.c. No
need to declare it in the header.
Signed-off-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220426171743.171061-9-ranjani.sridharan@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 36cbc9df
...@@ -82,7 +82,8 @@ void snd_sof_pcm_period_elapsed(struct snd_pcm_substream *substream) ...@@ -82,7 +82,8 @@ void snd_sof_pcm_period_elapsed(struct snd_pcm_substream *substream)
} }
EXPORT_SYMBOL(snd_sof_pcm_period_elapsed); EXPORT_SYMBOL(snd_sof_pcm_period_elapsed);
int sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, static int
sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd,
struct snd_sof_pcm *spcm, int dir) struct snd_sof_pcm *spcm, int dir)
{ {
struct snd_soc_dai *dai; struct snd_soc_dai *dai;
......
...@@ -501,7 +501,5 @@ int get_token_uuid(void *elem, void *object, u32 offset); ...@@ -501,7 +501,5 @@ int get_token_uuid(void *elem, void *object, u32 offset);
int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id, int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id,
struct snd_sof_tuple *tuples, int num_tuples, struct snd_sof_tuple *tuples, int num_tuples,
size_t object_size, int token_instance_num); size_t object_size, int token_instance_num);
int sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd,
struct snd_sof_pcm *spcm, int dir);
u32 vol_compute_gain(u32 value, int *tlv); u32 vol_compute_gain(u32 value, int *tlv);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment