summaryrefslogtreecommitdiff
path: root/include/adc.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-04-19 12:42:35 -0700
committerRandall Spangler <rspangler@chromium.org>2012-04-19 13:08:58 -0700
commitf4e772708bde3e4e1d184190a7f0be2417d2029a (patch)
tree4b668c02a9a6dca2704e6d0a8b3cb8e5c9e95b76 /include/adc.h
parentd5d2159c6d215b3a0feca42d961985cd37603ca8 (diff)
downloadchrome-ec-f4e772708bde3e4e1d184190a7f0be2417d2029a.tar.gz
Added HOOK_INIT for driver module inits
This covers modules which need to initialize before task_start(), but don't particularly care in what order they're initialized. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST=if it boots, it works Change-Id: I69829aac8d1c3c14ee04916a794b84bbf03a09eb
Diffstat (limited to 'include/adc.h')
-rw-r--r--include/adc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/adc.h b/include/adc.h
index 5ce79d172e..661baca292 100644
--- a/include/adc.h
+++ b/include/adc.h
@@ -11,9 +11,6 @@
#include "common.h"
#include "board.h"
-/* forward declaration */
-enum adc_channel;
-
/* Data structure to define ADC channels. */
struct adc_t
{
@@ -26,9 +23,6 @@ struct adc_t
int flag;
};
-/* Initializes the module. */
-int adc_init(void);
-
/* Read ADC channel. */
int adc_read_channel(enum adc_channel ch);