summaryrefslogtreecommitdiff
path: root/driver/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/sync.c')
-rw-r--r--driver/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/sync.c b/driver/sync.c
index 91d161765a..2d412355fb 100644
--- a/driver/sync.c
+++ b/driver/sync.c
@@ -97,7 +97,7 @@ static int motion_irq_handler(struct motion_sensor_t *s, uint32_t *event)
return EC_SUCCESS;
}
-static int sync_init(const struct motion_sensor_t *s)
+static int sync_init(struct motion_sensor_t *s)
{
vector.sensor_num = s - motion_sensors;
sync_enabled = 0;