linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][sound-next] ASoC: zx_aud96p22: make aud96p22_dt_ids static
@ 2017-06-26  9:00 Colin King
  2017-06-26 11:07 ` Shawn Guo
  2017-08-14 16:44 ` Applied "ASoC: zx_aud96p22: make array aud96p22_dt_ids static" to the asoc tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2017-06-26  9:00 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai, Baoyou Xie, Shawn Guo, alsa-devel
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The structure aud96p22_dt_ids does not need to be in global scope,
so make it static.

Cleans up sparse warning:
"warning: symbol 'aud96p22_dt_ids' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 sound/soc/codecs/zx_aud96p22.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/zx_aud96p22.c b/sound/soc/codecs/zx_aud96p22.c
index 032fb7cf6cbd..bc23ce1a30a1 100644
--- a/sound/soc/codecs/zx_aud96p22.c
+++ b/sound/soc/codecs/zx_aud96p22.c
@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c)
 	return 0;
 }
 
-const struct of_device_id aud96p22_dt_ids[] = {
+static const struct of_device_id aud96p22_dt_ids[] = {
 	{ .compatible = "zte,zx-aud96p22", },
 	{ }
 };
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][sound-next] ASoC: zx_aud96p22: make aud96p22_dt_ids static
  2017-06-26  9:00 [PATCH][sound-next] ASoC: zx_aud96p22: make aud96p22_dt_ids static Colin King
@ 2017-06-26 11:07 ` Shawn Guo
  2017-08-14 16:44 ` Applied "ASoC: zx_aud96p22: make array aud96p22_dt_ids static" to the asoc tree Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2017-06-26 11:07 UTC (permalink / raw)
  To: Colin King
  Cc: Jaroslav Kysela, Takashi Iwai, Baoyou Xie, alsa-devel,
	kernel-janitors, linux-kernel

On Mon, Jun 26, 2017 at 5:00 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The structure aud96p22_dt_ids does not need to be in global scope,
> so make it static.
>
> Cleans up sparse warning:
> "warning: symbol 'aud96p22_dt_ids' was not declared. Should it be static?"
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Acked-by: Shawn Guo <shawn.guo@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Applied "ASoC: zx_aud96p22: make array aud96p22_dt_ids static" to the asoc tree
  2017-06-26  9:00 [PATCH][sound-next] ASoC: zx_aud96p22: make aud96p22_dt_ids static Colin King
  2017-06-26 11:07 ` Shawn Guo
@ 2017-08-14 16:44 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2017-08-14 16:44 UTC (permalink / raw)
  To: Colin Ian King
  Cc: Mark Brown, Jaroslav Kysela, Takashi Iwai, Baoyou Xie, Shawn Guo,
	alsa-devel, kernel-janitors, linux-kernel, alsa-devel

The patch

   ASoC: zx_aud96p22: make array aud96p22_dt_ids static

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From def4b1243e56774fdc47de9292111a344f14e88c Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Sun, 13 Aug 2017 16:28:08 +0100
Subject: [PATCH] ASoC: zx_aud96p22: make array aud96p22_dt_ids static

The array aud96p22_dt_ids is local to the source and does not need to be
in global scope, so make it static.

Cleans up sparse warning:
symbol 'aud96p22_dt_ids' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/zx_aud96p22.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/zx_aud96p22.c b/sound/soc/codecs/zx_aud96p22.c
index 032fb7cf6cbd..bc23ce1a30a1 100644
--- a/sound/soc/codecs/zx_aud96p22.c
+++ b/sound/soc/codecs/zx_aud96p22.c
@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c)
 	return 0;
 }
 
-const struct of_device_id aud96p22_dt_ids[] = {
+static const struct of_device_id aud96p22_dt_ids[] = {
 	{ .compatible = "zte,zx-aud96p22", },
 	{ }
 };
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-14 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26  9:00 [PATCH][sound-next] ASoC: zx_aud96p22: make aud96p22_dt_ids static Colin King
2017-06-26 11:07 ` Shawn Guo
2017-08-14 16:44 ` Applied "ASoC: zx_aud96p22: make array aud96p22_dt_ids static" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).