Message ID | 20240907-asoc-fix-mt8365-build-v1-3-7ad0bac20161@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 3e61df7d2ff67875c770a7f548038054d05a0f15 |
Headers | show |
Series | ASoC: mt8365: Fix -Werror builds | expand |
Il 07/09/24 02:53, Mark Brown ha scritto: > The function is not used outside of the file it is defined and the > equivalent function for 44.1kHz is not prototyped so remove the prototype > for this function. > > Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com> On 07/09/2024 02:53, Mark Brown wrote: > The function is not used outside of the file it is defined and the > equivalent function for 44.1kHz is not prototyped so remove the prototype > for this function. > > Signed-off-by: Mark Brown <broonie@kernel.org> > --- > sound/soc/mediatek/mt8365/mt8365-afe-common.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-common.h b/sound/soc/mediatek/mt8365/mt8365-afe-common.h > index 1fa87e54a57f..731406e15ac7 100644 > --- a/sound/soc/mediatek/mt8365/mt8365-afe-common.h > +++ b/sound/soc/mediatek/mt8365/mt8365-afe-common.h > @@ -421,7 +421,6 @@ static inline u32 AutoRstThLo(unsigned int fs) > } > } > > -bool mt8365_afe_clk_group_48k(int sample_rate); > bool mt8365_afe_rate_supported(unsigned int rate, unsigned int id); > bool mt8365_afe_channel_supported(unsigned int channel, unsigned int id); > >
diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-common.h b/sound/soc/mediatek/mt8365/mt8365-afe-common.h index 1fa87e54a57f..731406e15ac7 100644 --- a/sound/soc/mediatek/mt8365/mt8365-afe-common.h +++ b/sound/soc/mediatek/mt8365/mt8365-afe-common.h @@ -421,7 +421,6 @@ static inline u32 AutoRstThLo(unsigned int fs) } } -bool mt8365_afe_clk_group_48k(int sample_rate); bool mt8365_afe_rate_supported(unsigned int rate, unsigned int id); bool mt8365_afe_channel_supported(unsigned int channel, unsigned int id);
The function is not used outside of the file it is defined and the equivalent function for 44.1kHz is not prototyped so remove the prototype for this function. Signed-off-by: Mark Brown <broonie@kernel.org> --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 1 - 1 file changed, 1 deletion(-)