summaryrefslogtreecommitdiff
path: root/include/peci.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-02-10 16:30:35 -0800
committerDave Parker <dparker@chromium.org>2012-02-13 10:41:34 -0800
commit6b8e8be7033a2808ff4839bc27765bcc5d7e4e63 (patch)
treec3cd58960dd68a5671ff8d61a097dd8335b39449 /include/peci.h
parent3b02beb41cb82e2b843418afd0b0d46890e3702f (diff)
downloadchrome-ec-6b8e8be7033a2808ff4839bc27765bcc5d7e4e63.tar.gz
Fix discovery and bds builds, which don't have temp sensor or peci
Remove id field from temp_sensor_t struct, since it's only used by the console command (which already knows the id, because it's looping over it). Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=none TEST='temps' Change-Id: I0970850073d644509cd5501d7ac4421c7373143b
Diffstat (limited to 'include/peci.h')
-rw-r--r--include/peci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/peci.h b/include/peci.h
index 95c9d0efe8..11aead9bb1 100644
--- a/include/peci.h
+++ b/include/peci.h
@@ -9,7 +9,8 @@
#define __CROS_EC_PECI_H
#include "common.h"
-#include "temp_sensor.h"
+
+struct temp_sensor_t;
/* Initializes the module. */
int peci_init(void);