summaryrefslogtreecommitdiff
path: root/sound/soc/sunxi/sun8i-adda-pr-regmap.h
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2018-10-17 00:38:07 -0700
committerMark Brown <broonie@kernel.org>2018-10-17 11:10:59 +0100
commit55b407f6468c481edc4a26b21c9f567ae57f01a4 (patch)
tree21a51993d2755e6667fa4afa059fe33212695649 /sound/soc/sunxi/sun8i-adda-pr-regmap.h
parent13c3bf174becfb8b55adcfeb6f01724dc99347f0 (diff)
downloadlinux-55b407f6468c481edc4a26b21c9f567ae57f01a4.tar.gz
ASoC: sun8i-codec-analog: split regmap code into separate driver
It will be reused by sun50i-codec-analog later. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/sun8i-adda-pr-regmap.h')
-rw-r--r--sound/soc/sunxi/sun8i-adda-pr-regmap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/sunxi/sun8i-adda-pr-regmap.h b/sound/soc/sunxi/sun8i-adda-pr-regmap.h
new file mode 100644
index 000000000000..a5ae95dfebc1
--- /dev/null
+++ b/sound/soc/sunxi/sun8i-adda-pr-regmap.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018 Vasily Khoruzhick <anarsoul@gmail.com>
+ */
+
+struct regmap *sun8i_adda_pr_regmap_init(struct device *dev,
+ void __iomem *base);