1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * ADAU1381/ADAU1781 driver 3 * ADAU1381/ADAU1781 driver 4 * 4 * 5 * Copyright 2014 Analog Devices Inc. 5 * Copyright 2014 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.d 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 */ 7 */ 8 8 9 #ifndef __SOUND_SOC_CODECS_ADAU1781_H__ 9 #ifndef __SOUND_SOC_CODECS_ADAU1781_H__ 10 #define __SOUND_SOC_CODECS_ADAU1781_H__ 10 #define __SOUND_SOC_CODECS_ADAU1781_H__ 11 11 12 #include <linux/regmap.h> 12 #include <linux/regmap.h> 13 #include "adau17x1.h" 13 #include "adau17x1.h" 14 14 15 struct device; 15 struct device; 16 16 17 int adau1781_probe(struct device *dev, struct 17 int adau1781_probe(struct device *dev, struct regmap *regmap, 18 enum adau17x1_type type, void (*switch 18 enum adau17x1_type type, void (*switch_mode)(struct device *dev)); 19 19 20 extern const struct regmap_config adau1781_reg 20 extern const struct regmap_config adau1781_regmap_config; 21 21 22 #endif 22 #endif 23 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.