summaryrefslogtreecommitdiff
path: root/board/wheatley/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/wheatley/board.c')
-rw-r--r--board/wheatley/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/wheatley/board.c b/board/wheatley/board.c
index 49a11049a3..85ebedb53c 100644
--- a/board/wheatley/board.c
+++ b/board/wheatley/board.c
@@ -196,7 +196,7 @@ BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT);
/* ALS instances. Must be in same order as enum als_id. */
struct als_t als[] = {
- {"TI", opt3001_read_lux, 5},
+ {"TI", opt3001_init, opt3001_read_lux, 5},
};
BUILD_ASSERT(ARRAY_SIZE(als) == ALS_COUNT);