diff options
Diffstat (limited to 'sound/soc/codecs/ssm2602.h')
-rw-r--r-- | sound/soc/codecs/ssm2602.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sound/soc/codecs/ssm2602.h b/sound/soc/codecs/ssm2602.h index fbd07d7b73ca..747538847689 100644 --- a/sound/soc/codecs/ssm2602.h +++ b/sound/soc/codecs/ssm2602.h | |||
@@ -28,6 +28,20 @@ | |||
28 | #ifndef _SSM2602_H | 28 | #ifndef _SSM2602_H |
29 | #define _SSM2602_H | 29 | #define _SSM2602_H |
30 | 30 | ||
31 | #include <linux/regmap.h> | ||
32 | |||
33 | struct device; | ||
34 | |||
35 | enum ssm2602_type { | ||
36 | SSM2602, | ||
37 | SSM2604, | ||
38 | }; | ||
39 | |||
40 | extern const struct regmap_config ssm2602_regmap_config; | ||
41 | |||
42 | int ssm2602_probe(struct device *dev, enum ssm2602_type type, | ||
43 | struct regmap *regmap); | ||
44 | |||
31 | /* SSM2602 Codec Register definitions */ | 45 | /* SSM2602 Codec Register definitions */ |
32 | 46 | ||
33 | #define SSM2602_LINVOL 0x00 | 47 | #define SSM2602_LINVOL 0x00 |