From b2d87dc18ad0c6049a48959f4c2d7dfddaf301f1 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Sat, 22 Mar 2014 09:45:14 -0700 Subject: compile charger driver independently of the charger task The charger driver code has no dependency on the charger task, we do not need to force the de-activation when the charger task is not running. This allow to debug new charger code without the task acting in background and should not have any drawback. Signed-off-by: Vincent Palatin BRANCH=none BUG=none TEST=make buildall and run "charger" command on Fruitpie without the charger task. Change-Id: I49a4885a2abf0e5d9e652e037941b1c4672beb7a Reviewed-on: https://chromium-review.googlesource.com/191211 Tested-by: Vincent Palatin Reviewed-by: Randall Spangler Commit-Queue: Vincent Palatin --- include/config.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/config.h b/include/config.h index 68402985ec..bd0f2be9dd 100644 --- a/include/config.h +++ b/include/config.h @@ -900,16 +900,6 @@ * are not present. */ -#ifndef HAS_TASK_CHARGER -#undef CONFIG_CHARGER -#undef CONFIG_CHARGER_BQ24192 -#undef CONFIG_CHARGER_BQ24707A -#undef CONFIG_CHARGER_BQ24715 -#undef CONFIG_CHARGER_BQ24725 -#undef CONFIG_CHARGER_BQ24738 -#undef CONFIG_CHARGER_TPS65090 -#endif - #ifndef HAS_TASK_CHIPSET #undef CONFIG_CHIPSET_BAYTRAIL #undef CONFIG_CHIPSET_GAIA -- cgit v1.2.1