summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/bmi323/bmi323_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/imu/bmi323/bmi323_core.c')
-rw-r--r--drivers/iio/imu/bmi323/bmi323_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/bmi323/bmi323_core.c b/drivers/iio/imu/bmi323/bmi323_core.c
index 1e6c083ea5c1..76a88e1ccc1d 100644
--- a/drivers/iio/imu/bmi323/bmi323_core.c
+++ b/drivers/iio/imu/bmi323/bmi323_core.c
@@ -785,7 +785,7 @@ static const struct attribute_group bmi323_event_attribute_group = {
static int bmi323_write_event_config(struct iio_dev *indio_dev,
const struct iio_chan_spec *chan,
enum iio_event_type type,
- enum iio_event_direction dir, int state)
+ enum iio_event_direction dir, bool state)
{
struct bmi323_data *data = iio_priv(indio_dev);