[alsa-devel] [asoc:topic/gtm601 2/3] sound/soc/codecs/gtm601.c:36:27: sparse: symbol 'gtm601_dai' was not declared. Should it be static?
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/gtm601 head: ac6e7c29ac12e1e285b0740bb671039ef436cf91 commit: 600a2b098a87843d44ab2f54fde9eda421946b38 [2/3] ASoC: Add gtm601 codec driver reproduce: # apt-get install sparse git checkout 600a2b098a87843d44ab2f54fde9eda421946b38 make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
sound/soc/codecs/gtm601.c:36:27: sparse: symbol 'gtm601_dai' was not declared. Should it be static?
Please review and possibly fold the followup patch.
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Signed-off-by: Fengguang Wu fengguang.wu@intel.com --- gtm601.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/gtm601.c b/sound/soc/codecs/gtm601.c index 1b77ff2..305452e 100644 --- a/sound/soc/codecs/gtm601.c +++ b/sound/soc/codecs/gtm601.c @@ -33,7 +33,7 @@ static const struct snd_soc_dapm_route gtm601_dapm_routes[] = { { "Capture", NULL, "AIN" }, };
-struct snd_soc_dai_driver gtm601_dai = { +static struct snd_soc_dai_driver gtm601_dai = { .name = "gtm601", .playback = { .stream_name = "Playback",
participants (1)
-
kbuild test robot