summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/codecs/ad193x.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/codecs/ad193x.h')
-rw-r--r--kernel/sound/soc/codecs/ad193x.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/sound/soc/codecs/ad193x.h b/kernel/sound/soc/codecs/ad193x.h
index ab9a998f1..8b1e65f92 100644
--- a/kernel/sound/soc/codecs/ad193x.h
+++ b/kernel/sound/soc/codecs/ad193x.h
@@ -13,8 +13,15 @@
struct device;
+enum ad193x_type {
+ AD193X,
+ AD1933,
+ AD1934,
+};
+
extern const struct regmap_config ad193x_regmap_config;
-int ad193x_probe(struct device *dev, struct regmap *regmap);
+int ad193x_probe(struct device *dev, struct regmap *regmap,
+ enum ad193x_type type);
#define AD193X_PLL_CLK_CTRL0 0x00
#define AD193X_PLL_POWERDOWN 0x01