summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l51.h
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2014-04-15 22:49:33 +0200
committerMark Brown <broonie@linaro.org>2014-04-16 16:35:02 +0200
commita1253ef6d3fabfe60838cd417b0624ab53df285e (patch)
treeb8d5744abb6e3a23e762166c1532393c46a1ef58 /sound/soc/codecs/cs42l51.h
parentLinux 3.15-rc1 (diff)
downloadlinux-a1253ef6d3fabfe60838cd417b0624ab53df285e.tar.xz
linux-a1253ef6d3fabfe60838cd417b0624ab53df285e.zip
ASoC: cs42l51: split i2c from codec driver
This patch removes the i2c bus code from the codec driver and creates seperate i2c driver. Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cs42l51.h')
-rw-r--r--sound/soc/codecs/cs42l51.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42l51.h b/sound/soc/codecs/cs42l51.h
index 2beeb171db4b..641ef18435b3 100644
--- a/sound/soc/codecs/cs42l51.h
+++ b/sound/soc/codecs/cs42l51.h
@@ -18,6 +18,11 @@
#ifndef _CS42L51_H
#define _CS42L51_H
+struct device;
+
+extern const struct regmap_config cs42l51_regmap;
+int cs42l51_probe(struct device *dev, struct regmap *regmap);
+
#define CS42L51_CHIP_ID 0x1B
#define CS42L51_CHIP_REV_A 0x00
#define CS42L51_CHIP_REV_B 0x01