summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8804.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@gmail.com>2015-02-22 19:43:21 +0300
committerMark Brown <broonie@kernel.org>2015-03-05 04:05:54 +0300
commitbbed297d373471c8e4c3183bf67472a768576664 (patch)
tree051fecdb7719d685d2cedc670af1ec9a00c57af8 /sound/soc/codecs/wm8804.h
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-bbed297d373471c8e4c3183bf67472a768576664.tar.xz
ASoC: wm8804: Split out bus drivers
Simplify dependencies by using new style split out bus interfaces. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8804.h')
-rw-r--r--sound/soc/codecs/wm8804.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8804.h b/sound/soc/codecs/wm8804.h
index e72d4f4ba6b1..a39a2563dc67 100644
--- a/sound/soc/codecs/wm8804.h
+++ b/sound/soc/codecs/wm8804.h
@@ -13,6 +13,8 @@
#ifndef _WM8804_H
#define _WM8804_H
+#include <linux/regmap.h>
+
/*
* Register values.
*/
@@ -62,4 +64,9 @@
#define WM8804_MCLKDIV_256FS 0
#define WM8804_MCLKDIV_128FS 1
+extern const struct regmap_config wm8804_regmap_config;
+
+int wm8804_probe(struct device *dev, struct regmap *regmap);
+void wm8804_remove(struct device *dev);
+
#endif /* _WM8804_H */