summaryrefslogtreecommitdiff
path: root/board/bds
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 /board/bds
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 'board/bds')
-rw-r--r--board/bds/board_temp_sensor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bds/board_temp_sensor.c b/board/bds/board_temp_sensor.c
index 65b73005a1..2efa002cb9 100644
--- a/board/bds/board_temp_sensor.c
+++ b/board/bds/board_temp_sensor.c
@@ -15,8 +15,8 @@
TMP006_ADDR(I2C_PORT_THERMAL, TEMP_CASE_DIE_REG_ADDR)
const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT] = {
- {"ECInternal", TEMP_SENSOR_EC_INTERNAL, TEMP_SENSOR_NO_ADDR,
+ {"ECInternal", TEMP_SENSOR_NO_ADDR,
chip_temp_sensor_read, TEMP_SENSOR_NO_PRINT},
- {"CaseDie", TEMP_SENSOR_CASE_DIE, TEMP_CASE_DIE_ADDR,
+ {"CaseDie", TEMP_CASE_DIE_ADDR,
temp_sensor_tmp006_read_die_temp, temp_sensor_tmp006_print}
};