diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2015-07-15 18:02:33 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-16 05:15:22 +0000 |
commit | e7bebf7c805e160bfd633da5c8357527a4fee9f6 (patch) | |
tree | 284465532d7b304bb6b579ce588e61cfd4fe6e16 /include/adc.h | |
parent | 7e29ee3b8e48a70724f2342d9271c1f4dbec8675 (diff) | |
download | chrome-ec-e7bebf7c805e160bfd633da5c8357527a4fee9f6.tar.gz |
ADC: Add common priority for the ADC init
Added common priority for the ADC init to ensure board level
priority is defined for the ADC pre init.
BUG=none
TEST=make buildall -j
BRANCH=none
Change-Id: Id1649df6a68ab53bd110e58a0722bd4c70cbffc5
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/286040
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/adc.h')
-rw-r--r-- | include/adc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/adc.h b/include/adc.h index efca057445..f7fbb0d3ac 100644 --- a/include/adc.h +++ b/include/adc.h @@ -10,6 +10,8 @@ #include "common.h" +#define HOOK_PRIO_INIT_ADC HOOK_PRIO_DEFAULT /* ADC priority */ + #define ADC_READ_ERROR -1 /* Value returned by adc_read_channel() on error */ /* |