summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/zephyr_adc.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/zephyr_adc.h')
-rw-r--r--zephyr/shim/include/zephyr_adc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/shim/include/zephyr_adc.h b/zephyr/shim/include/zephyr_adc.h
index 4d279bec86..1c8e06664b 100644
--- a/zephyr/shim/include/zephyr_adc.h
+++ b/zephyr/shim/include/zephyr_adc.h
@@ -24,6 +24,7 @@ enum adc_channel {
struct adc_t {
const char *name;
+ const struct device *dev;
uint8_t input_ch;
int factor_mul;
int factor_div;