summaryrefslogtreecommitdiff
path: root/driver/als_opt3001.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/als_opt3001.h')
-rw-r--r--driver/als_opt3001.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/als_opt3001.h b/driver/als_opt3001.h
index 3e21ba7db8..366e957995 100644
--- a/driver/als_opt3001.h
+++ b/driver/als_opt3001.h
@@ -29,4 +29,8 @@
int opt3001_init(void);
int opt3001_read_lux(int *lux, int af);
+#ifdef CONFIG_CMD_I2C_STRESS_TEST_ALS
+extern struct i2c_stress_test_dev opt3001_i2c_stress_test_dev;
+#endif
+
#endif /* __CROS_EC_ALS_OPT3001_H */