drivers: sensors: fix compile error due to conflicting types.

Since b249535 (sensors: Add channel specifier) the signature of
sensor_reconfigure_read_iodev() changed, but sensor_handlers.c
apparently hasn't been updated.

Fix compile time error by updating sensor_reconfigure_read_iodev()
signature in sensor_handlers.c

Signed-off-by: Andrea Merello <andrea.merello@iit.it>
This commit is contained in:
Andrea Merello 2024-09-16 12:13:44 +02:00 committed by Anas Nashif
parent e646f99093
commit cc61e96860

View file

@ -70,7 +70,7 @@ static inline int z_vrfy_sensor_get_decoder(const struct device *dev,
static inline int z_vrfy_sensor_reconfigure_read_iodev(struct rtio_iodev *iodev,
const struct device *sensor,
const enum sensor_channel *channels,
const struct sensor_chan_spec *channels,
size_t num_channels)
{
K_OOPS(K_SYSCALL_OBJ(iodev, K_OBJ_RTIO_IODEV));