From f4e772708bde3e4e1d184190a7f0be2417d2029a Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Thu, 19 Apr 2012 12:42:35 -0700 Subject: 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 BUG=none TEST=if it boots, it works Change-Id: I69829aac8d1c3c14ee04916a794b84bbf03a09eb --- include/adc.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/adc.h') 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); -- cgit v1.2.1