drivers: sensors: icm206xx: Fix strict-prototypes error

Change-Id: I5eb49319b73dfc9ee344c44ba4e9ebc16c8e7ce1
This commit is contained in:
mikooomich 2023-11-09 21:13:39 +01:00 committed by Davide Garberi
parent a7c4237e2c
commit 717dc0e252

View File

@ -446,7 +446,7 @@ static void icm_remap_gyro_data(struct axis_data *data, int place)
} }
/*ASUS BSP: this function check if waiting enough time (80ms) since gyro sensor enabled /*ASUS BSP: this function check if waiting enough time (80ms) since gyro sensor enabled
there is a counter used to prevent data always not ready*/ there is a counter used to prevent data always not ready*/
static bool icm_is_gyro_data_ready() static bool icm_is_gyro_data_ready(void)
{ {
struct timespec ts; struct timespec ts;
static int l_counter = 0; static int l_counter = 0;
@ -2940,7 +2940,7 @@ static void icm_init_status_function(struct icm_sensor *sensor)
sensor->proc_polling = NULL; sensor->proc_polling = NULL;
sensor->proc_debug = NULL; sensor->proc_debug = NULL;
} }
static void icm_deinit() static void icm_deinit(void)
{ {
struct icm_init_status *l_init_status; struct icm_init_status *l_init_status;
if (g_icm206xx_sensor) { if (g_icm206xx_sensor) {