diff --git a/include/nuttx/sensors/sensor.h b/include/nuttx/sensors/sensor.h index a9ef796eb76..0658d5c7882 100644 --- a/include/nuttx/sensors/sensor.h +++ b/include/nuttx/sensors/sensor.h @@ -958,6 +958,14 @@ struct sensor_reginfo_s }; #endif +/* This structure describes the context custom ioctl for device */ + +struct sensor_ioctl_s +{ + size_t len; /* The length of argument of ioctl */ + char data[1]; /* The argument buf of ioctl */ +}; + /**************************************************************************** * Public Function Prototypes ****************************************************************************/