summaryrefslogtreecommitdiff
path: root/include/linux/mfd/wm8350/comparator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/wm8350/comparator.h')
-rw-r--r--include/linux/mfd/wm8350/comparator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8350/comparator.h b/include/linux/mfd/wm8350/comparator.h
index 053788649452..54bc5d0fd502 100644
--- a/include/linux/mfd/wm8350/comparator.h
+++ b/include/linux/mfd/wm8350/comparator.h
@@ -164,4 +164,12 @@
#define WM8350_AUXADC_BATT 6
#define WM8350_AUXADC_TEMP 7
+struct wm8350;
+
+/*
+ * AUX ADC Readback
+ */
+int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale,
+ int vref);
+
#endif