diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-04-24 14:39:53 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-24 16:32:58 -0700 |
commit | 0bfb7ddd0713b3476a077f905e96dfa9b1e22d86 (patch) | |
tree | 9624ef46c4442a77bfd1c025e95635c7b534e903 /include/charge_state.h | |
parent | 39b0f6ce0c86a2b8adf37624c08279bfe322686e (diff) | |
download | chrome-ec-0bfb7ddd0713b3476a077f905e96dfa9b1e22d86.tar.gz |
Replace generated CONFIG_TASK_ macros with HAS_TASK_
CONFIG_ macros should be set directly. Expanding the task names in the same
way made it difficult to tell what was a configuration choice and what was
due to changes in ec.tasklist
BUG=chrome-os-partner:18343
TEST=build all, run link
BRANCH=none
Change-Id: Ib82e34f974238ee2dd216f33b701b6f4c6a4f1f1
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49098
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index 68ae1d08b4..d9816a7a9d 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -146,7 +146,7 @@ int charge_get_percent(void); /** * Return non-zero if discharging and battery so low we should shut down. */ -#ifdef CONFIG_TASK_CHARGER +#ifdef HAS_TASK_CHARGER int charge_want_shutdown(void); #else static inline int charge_want_shutdown(void) { return 0; } |