diff options
Diffstat (limited to 'include/media/v4l2-device.h')
| -rw-r--r-- | include/media/v4l2-device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/v4l2-device.h b/include/media/v4l2-device.h index 5d5d550e63ad..8bcbd7a0271c 100644 --- a/include/media/v4l2-device.h +++ b/include/media/v4l2-device.h | |||
| @@ -32,6 +32,8 @@ | |||
| 32 | 32 | ||
| 33 | #define V4L2_DEVICE_NAME_SIZE (20 + 16) | 33 | #define V4L2_DEVICE_NAME_SIZE (20 + 16) |
| 34 | 34 | ||
| 35 | struct v4l2_ctrl_handler; | ||
| 36 | |||
| 35 | struct v4l2_device { | 37 | struct v4l2_device { |
| 36 | /* dev->driver_data points to this struct. | 38 | /* dev->driver_data points to this struct. |
| 37 | Note: dev might be NULL if there is no parent device | 39 | Note: dev might be NULL if there is no parent device |
| @@ -47,6 +49,8 @@ struct v4l2_device { | |||
| 47 | /* notify callback called by some sub-devices. */ | 49 | /* notify callback called by some sub-devices. */ |
| 48 | void (*notify)(struct v4l2_subdev *sd, | 50 | void (*notify)(struct v4l2_subdev *sd, |
| 49 | unsigned int notification, void *arg); | 51 | unsigned int notification, void *arg); |
| 52 | /* The control handler. May be NULL. */ | ||
| 53 | struct v4l2_ctrl_handler *ctrl_handler; | ||
| 50 | }; | 54 | }; |
| 51 | 55 | ||
| 52 | /* Initialize v4l2_dev and make dev->driver_data point to v4l2_dev. | 56 | /* Initialize v4l2_dev and make dev->driver_data point to v4l2_dev. |
