summaryrefslogtreecommitdiff
path: root/common/motion_sense.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/motion_sense.c')
-rw-r--r--common/motion_sense.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/motion_sense.c b/common/motion_sense.c
index d2a51fc2a4..546034c7e2 100644
--- a/common/motion_sense.c
+++ b/common/motion_sense.c
@@ -76,10 +76,8 @@ static atomic_t odr_event_required;
__maybe_unused static int fifo_int_enabled;
#ifdef CONFIG_ZEPHYR
-static int init_sensor_mutex(const struct device *dev)
+static int init_sensor_mutex(void)
{
- ARG_UNUSED(dev);
-
k_mutex_init(&g_sensor_mutex);
return 0;