summaryrefslogtreecommitdiff
path: root/include/temp_sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/temp_sensor.h')
-rw-r--r--include/temp_sensor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/temp_sensor.h b/include/temp_sensor.h
index f8b6f64508..469d4d4764 100644
--- a/include/temp_sensor.h
+++ b/include/temp_sensor.h
@@ -1,4 +1,4 @@
-/* Copyright 2012 The Chromium OS Authors. All rights reserved.
+/* Copyright 2012 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -38,7 +38,7 @@ struct temp_sensor_t {
* to all use OO style sensor argument to get adc idx.
*/
#ifdef CONFIG_ZEPHYR
- struct zephyr_temp_sensor *zephyr_info;
+ const struct zephyr_temp_sensor *zephyr_info;
#else
/* Read sensor value in K into temp_ptr; return non-zero if error. */
int (*read)(int idx, int *temp_ptr);
@@ -72,4 +72,4 @@ int temp_sensor_read(enum temp_sensor_id id, int *temp_ptr);
*/
int print_temps(void);
-#endif /* __CROS_EC_TEMP_SENSOR_H */
+#endif /* __CROS_EC_TEMP_SENSOR_H */