ASoC: uniphier: aiodma_rb_get_rp() can be static
authorWu Fengguang <fengguang.wu@intel.com>
Mon, 12 Feb 2018 17:53:10 +0000 (01:53 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 13 Feb 2018 11:58:31 +0000 (11:58 +0000)
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>
sound/soc/uniphier/aio-core.c

index 7e9451c..1e5f053 100644 (file)
@@ -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;