summaryrefslogtreecommitdiff
path: root/chip/npcx/adc_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/adc_chip.h')
-rw-r--r--chip/npcx/adc_chip.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/chip/npcx/adc_chip.h b/chip/npcx/adc_chip.h
index 9c2de3000d..300447df16 100644
--- a/chip/npcx/adc_chip.h
+++ b/chip/npcx/adc_chip.h
@@ -8,7 +8,7 @@
#ifndef __CROS_EC_ADC_CHIP_H
#define __CROS_EC_ADC_CHIP_H
-#include "adc.h"
+#include "common.h"
/* Minimum and maximum values returned by raw ADC read. */
#define ADC_READ_MIN 0
@@ -46,12 +46,6 @@ struct adc_t {
};
/*
- * 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[];
-
-/*
* Boards may configure a ADC channel for use with thershold interrupts.
* The threshold levels may be set from 0 to ADC_MAX_VOLT inclusive.
*/