summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/rt5677-spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c
index 3a17643fcd9f..dac1097bc740 100644
--- a/sound/soc/codecs/rt5677-spi.c
+++ b/sound/soc/codecs/rt5677-spi.c
@@ -145,7 +145,7 @@ static int rt5677_spi_hw_free(
snd_soc_component_get_drvdata(component);
mutex_lock(&rt5677_dsp->dma_lock);
- rt5677_dsp->substream = 0;
+ rt5677_dsp->substream = NULL;
mutex_unlock(&rt5677_dsp->dma_lock);
return snd_pcm_lib_free_vmalloc_buffer(substream);
@@ -362,7 +362,7 @@ done:
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)