]> www.infradead.org Git - users/willy/linux.git/commit
ASoC: mt8365: Make non-exported functions static
authorMark Brown <broonie@kernel.org>
Sat, 7 Sep 2024 00:53:29 +0000 (01:53 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2024 15:58:15 +0000 (16:58 +0100)
commit63157d994025639075b3faa372976a96186322c1
treee1aab5cf7d3d6de22b07221f2d0e94042746879d
parent3e61df7d2ff67875c770a7f548038054d05a0f15
ASoC: mt8365: Make non-exported functions static

The compilers warn if functions without a prototype are not static so add
appropriate static declarations.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20240907-asoc-fix-mt8365-build-v1-4-7ad0bac20161@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8365/mt8365-afe-clk.c
sound/soc/mediatek/mt8365/mt8365-afe-pcm.c