diff options
author | Brian Austin <brian.austin@cirrus.com> | 2014-04-15 15:49:33 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-16 15:35:02 +0100 |
commit | a1253ef6d3fabfe60838cd417b0624ab53df285e (patch) | |
tree | b8d5744abb6e3a23e762166c1532393c46a1ef58 /sound/soc/codecs/cs42l51.h | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
download | linux-stable-a1253ef6d3fabfe60838cd417b0624ab53df285e.tar.gz linux-stable-a1253ef6d3fabfe60838cd417b0624ab53df285e.tar.bz2 linux-stable-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.h | 5 |
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 |