summaryrefslogtreecommitdiff
path: root/chip/lm4/adc_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/adc_chip.h')
-rw-r--r--chip/lm4/adc_chip.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/chip/lm4/adc_chip.h b/chip/lm4/adc_chip.h
index b43bec2da3..a402c845a1 100644
--- a/chip/lm4/adc_chip.h
+++ b/chip/lm4/adc_chip.h
@@ -8,6 +8,8 @@
#ifndef __CROS_EC_ADC_CHIP_H
#define __CROS_EC_ADC_CHIP_H
+#include <stdint.h>
+
enum lm4_adc_sequencer {
LM4_ADC_SEQ0 = 0,
LM4_ADC_SEQ1,
@@ -29,12 +31,6 @@ struct adc_t {
uint8_t gpio_mask;
};
-/*
- * Boards must provide this list of ADC channel definitions. This must match
- * the enum adc_channel list provided by the board.
- */
-extern const struct adc_t adc_channels[];
-
/* Minimum and maximum values returned by raw ADC read. */
#define ADC_READ_MIN 0
#define ADC_READ_MAX 4095