public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5677: Make rt5677_spi_pcm_page static
@ 2019-10-24 12:15 zhong jiang
  2019-10-29  3:08 ` zhong jiang
  2019-10-31 13:20 ` Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: zhong jiang @ 2019-10-24 12:15 UTC (permalink / raw)
  To: bardliao, oder_chiou, broonie
  Cc: lgirdwood, perex, tiwai, linux-kernel, zhongjiang

The GCC complains the following warning.

sound/soc/codecs/rt5677-spi.c:365:13: warning: symbol 'rt5677_spi_pcm_page' was not declared. Should it be static?

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
---
 sound/soc/codecs/rt5677-spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c
index 36c02d2..b412371 100644
--- a/sound/soc/codecs/rt5677-spi.c
+++ b/sound/soc/codecs/rt5677-spi.c
@@ -362,7 +362,7 @@ static void rt5677_spi_copy_work(struct work_struct *work)
 	mutex_unlock(&rt5677_dsp->dma_lock);
 }
 
-struct page *rt5677_spi_pcm_page(
+static struct page *rt5677_spi_pcm_page(
 		struct snd_soc_component *component,
 		struct snd_pcm_substream *substream,
 		unsigned long offset)
-- 
1.7.12.4


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

end of thread, other threads:[~2019-10-31 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 12:15 [PATCH] ASoC: rt5677: Make rt5677_spi_pcm_page static zhong jiang
2019-10-29  3:08 ` zhong jiang
2019-10-29 12:24   ` Mark Brown
     [not found]     ` <5DB8383C.7040601@huawei.com>
2019-10-29 13:09       ` Mark Brown
2019-10-31 13:20 ` Mark Brown
2019-10-31 13:40   ` zhong jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox