summaryrefslogtreecommitdiff
path: root/sound/soc/uniphier
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2018-02-12 20:53:10 +0300
committerMark Brown <broonie@kernel.org>2018-02-13 14:58:31 +0300
commitd732d89b154af23946180bf785b7b0ec42275b49 (patch)
tree4796b935129742a3fbf37d05dd0dfe3549f3d72a /sound/soc/uniphier
parentdb4cb3d04eba91db48da0032c44b83ed7185973c (diff)
downloadlinux-d732d89b154af23946180bf785b7b0ec42275b49.tar.xz
ASoC: uniphier: aiodma_rb_get_rp() can be static
Fixes: f37fe2f9987b ("ASoC: uniphier: add support for UniPhier AIO common driver") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/uniphier')
-rw-r--r--sound/soc/uniphier/aio-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/uniphier/aio-core.c b/sound/soc/uniphier/aio-core.c
index 7e9451ca24af..1e5f053d9f6b 100644
--- a/sound/soc/uniphier/aio-core.c
+++ b/sound/soc/uniphier/aio-core.c
@@ -904,7 +904,7 @@ void aiodma_ch_set_enable(struct uniphier_aio_sub *sub, int enable)
}
}
-u64 aiodma_rb_get_rp(struct uniphier_aio_sub *sub)
+static u64 aiodma_rb_get_rp(struct uniphier_aio_sub *sub)
{
struct regmap *r = sub->aio->chip->regmap;
u32 pos_u, pos_l;