diff options
Diffstat (limited to 'driver')
-rw-r--r-- | driver/als_si114x.c | 2 | ||||
-rw-r--r-- | driver/pi3usb30532.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/driver/als_si114x.c b/driver/als_si114x.c index bdd39fa5b0..5a64be92cd 100644 --- a/driver/als_si114x.c +++ b/driver/als_si114x.c @@ -219,7 +219,7 @@ static int irq_handler(struct motion_sensor_t *s, uint32_t *event) /* Just trigger a measurement */ static int read(const struct motion_sensor_t *s, vector_3_t v) { - int ret; + int ret = 0; uint8_t cmd; struct si114x_drv_data_t *data = SI114X_GET_DATA(s); diff --git a/driver/pi3usb30532.h b/driver/pi3usb30532.h index 96c963204b..15a9241239 100644 --- a/driver/pi3usb30532.h +++ b/driver/pi3usb30532.h @@ -8,8 +8,6 @@ #ifndef __CROS_EC_PI3USB30532_H #define __CROS_EC_PI3USB30532_H -#include <inttypes.h> - #include "usb_pd.h" /* USB switch registers */ |