summaryrefslogtreecommitdiff
path: root/include/extpower_falco.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-03-19 10:27:05 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-03-20 23:51:00 +0000
commita025f18673583e1c030aa006e0f0cebeea18c062 (patch)
treef534c379664bcfee544555e8e305e96a91e36b57 /include/extpower_falco.h
parent0a35a979d470f64263d153521b4641b9d7dbdbef (diff)
downloadchrome-ec-a025f18673583e1c030aa006e0f0cebeea18c062.tar.gz
Rename charge_state.[ch] to charge_state_v1.[ch]
Making room for a new charge_state implementation. BRANCH=ToT BUG=chrome-os-partner:23776 TEST=make buildall -j No new functionality, just renaming some files. Change-Id: I80ce861f09129a518e180cac20d32e867a93cd46 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190852 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/extpower_falco.h')
-rw-r--r--include/extpower_falco.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/extpower_falco.h b/include/extpower_falco.h
index b5cbbcdc8d..8d7cb57b8b 100644
--- a/include/extpower_falco.h
+++ b/include/extpower_falco.h
@@ -8,7 +8,15 @@
#ifndef __CROS_EC_EXTPOWER_FALCO_H
#define __CROS_EC_EXTPOWER_FALCO_H
+#ifdef CONFIG_CHARGER_V2
+#error "This is not compatible with CONFIG_CHARGER_V2"
+/*
+ * ... but we can't define CONFIG_CHARGER_V1 because the tests don't need or
+ * want charge_state_v1.c. Sigh.
+ */
+#endif
#include "charge_state.h"
+#include "charge_state_v1.h"
/* Supported adapters */
enum adapter_type {