xref: /openbmc/linux/sound/soc/codecs/adau1372.h (revision 35267cea)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * ADAU1372 driver
4  *
5  * Copyright 2016 Analog Devices Inc.
6  *  Author: Lars-Peter Clausen <lars@metafoo.de>
7  */
8 
9 #ifndef SOUND_SOC_CODECS_ADAU1372_H
10 #define SOUND_SOC_CODECS_ADAU1372_H
11 
12 #include <linux/regmap.h>
13 
14 struct device;
15 
16 int adau1372_probe(struct device *dev, struct regmap *regmap,
17 		   void (*switch_mode)(struct device *dev));
18 
19 extern const struct regmap_config adau1372_regmap_config;
20 
21 #endif
22