]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: siu: Fix build error by a wrong const prefix
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Jan 2021 15:47:02 +0000 (16:47 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 27 Jan 2021 12:35:18 +0000 (12:35 +0000)
commitbea108e7f5fc3ac19f9a7d4934148590236aae79
tree3196da2e408bfb381907cd3a61b827336cbb02ef
parent63b9bd0a454bfc3d06eb9f9f290b16af63457b65
ASoC: siu: Fix build error by a wrong const prefix

A const prefix was put wrongly in the middle at the code refactoring
commit 1413efcd8917 ("ASoC: sh: siu_pcm: remove snd_pcm_ops"), which
leads to a build error as:
  sound/soc/sh/siu_pcm.c:546:8: error: expected '{' before 'const'

Also, another inconsistency is that the declaration of siu_component
misses the const prefix.

This patch corrects both failures.

Fixes: 1413efcd8917 ("ASoC: sh: siu_pcm: remove snd_pcm_ops")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210126154702.3974-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/siu.h
sound/soc/sh/siu_pcm.c