aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/sti/uniperif_reader.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-07-17 07:44:09 +0800
committerMark Brown <broonie@kernel.org>2015-07-17 01:08:47 +0100
commitf2da4542268503d22869617b7dbcb40d364c78bb (patch)
treece4ec4d90e2602e135d12aa4055790fa5ea0460a /sound/soc/sti/uniperif_reader.c
parentASoC: sti: Add clock adjustement control (diff)
downloadwireguard-linux-f2da4542268503d22869617b7dbcb40d364c78bb.tar.xz
wireguard-linux-f2da4542268503d22869617b7dbcb40d364c78bb.zip
ASoC: sti: sti_uniperiph_dai_create_ctrl() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sti/uniperif_reader.c')
-rw-r--r--sound/soc/sti/uniperif_reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sti/uniperif_reader.c b/sound/soc/sti/uniperif_reader.c
index 7d83827ba660..c502626f339b 100644
--- a/sound/soc/sti/uniperif_reader.c
+++ b/sound/soc/sti/uniperif_reader.c
@@ -17,7 +17,7 @@
* Note: snd_pcm_hardware is linked to DMA controller but is declared here to
* integrate unireader capability in term of rate and supported channels
*/
-const struct snd_pcm_hardware uni_reader_pcm_hw = {
+static const struct snd_pcm_hardware uni_reader_pcm_hw = {
.info = SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID,
@@ -324,7 +324,7 @@ static int uni_reader_parse_dt(struct platform_device *pdev,
return 0;
}
-const struct snd_soc_dai_ops uni_reader_dai_ops = {
+static const struct snd_soc_dai_ops uni_reader_dai_ops = {
.shutdown = uni_reader_shutdown,
.prepare = uni_reader_prepare,
.trigger = uni_reader_trigger,