diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-07-17 01:44:09 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-17 02:08:47 +0200 |
commit | f2da4542268503d22869617b7dbcb40d364c78bb (patch) | |
tree | ce4ec4d90e2602e135d12aa4055790fa5ea0460a /sound/soc/sti/uniperif_player.c | |
parent | ASoC: sti: Add clock adjustement control (diff) | |
download | linux-f2da4542268503d22869617b7dbcb40d364c78bb.tar.xz 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_player.c')
-rw-r--r-- | sound/soc/sti/uniperif_player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sti/uniperif_player.c b/sound/soc/sti/uniperif_player.c index d990d2c81a5d..f609089a6e00 100644 --- a/sound/soc/sti/uniperif_player.c +++ b/sound/soc/sti/uniperif_player.c @@ -43,7 +43,7 @@ * Note: snd_pcm_hardware is linked to DMA controller but is declared here to * integrate DAI_CPU capability in term of rate and supported channels */ -const struct snd_pcm_hardware uni_player_pcm_hw = { +static const struct snd_pcm_hardware uni_player_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, @@ -175,7 +175,7 @@ static irqreturn_t uni_player_irq_handler(int irq, void *dev_id) return ret; } -int uni_player_clk_set_rate(struct uniperif *player, unsigned long rate) +static int uni_player_clk_set_rate(struct uniperif *player, unsigned long rate) { int rate_adjusted, rate_achieved, delta, ret; int adjustment = player->clk_adj; |