From 7fbf25c0969c220e49570f67a8c32783ab23273b Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Thu, 11 Jan 2018 11:16:14 +0800 Subject: config.h: Define CONFIG_EC_EC_COMM_BATTERY_MASTER/SLAVE Instead of defining these options in other header files, set them here. This also prevents pre-submit checks from complaining about these symbols being used without being defined in config.h. BRANCH=none BUG=b:65697962 TEST=make buildall -j, presubmit checks pass for CL that makes use of CONFIG_EC_EC_COMM_BATTERY_MASTER. Change-Id: I8098a8ae6422bf0ffb26523785d7c16a3ee1c6df Signed-off-by: Nicolas Boichat Reviewed-on: https://chromium-review.googlesource.com/861365 Reviewed-by: Randall Spangler --- include/ec_ec_comm_master.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/ec_ec_comm_master.h') diff --git a/include/ec_ec_comm_master.h b/include/ec_ec_comm_master.h index 8c04795103..98b8011b95 100644 --- a/include/ec_ec_comm_master.h +++ b/include/ec_ec_comm_master.h @@ -11,10 +11,6 @@ #include #include "config.h" -#if defined(CONFIG_EC_EC_COMM_MASTER) && defined(CONFIG_EC_EC_COMM_BATTERY) -#define CONFIG_EC_EC_COMM_BATTERY_MASTER -#endif - /* * TODO(b:65697620): Move these to some other C file, depending on a config * option. -- cgit v1.2.1