diff options
Diffstat (limited to 'include/media/v4l2-subdev.h')
-rw-r--r-- | include/media/v4l2-subdev.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 3250cc5e7925..bfda0fe9aeb0 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -586,15 +586,14 @@ struct v4l2_subdev { | |||
586 | struct video_device *devnode; | 586 | struct video_device *devnode; |
587 | /* pointer to the physical device, if any */ | 587 | /* pointer to the physical device, if any */ |
588 | struct device *dev; | 588 | struct device *dev; |
589 | struct v4l2_async_subdev_list asdl; | 589 | /* Links this subdev to a global subdev_list or @notifier->done list. */ |
590 | struct list_head async_list; | ||
591 | /* Pointer to respective struct v4l2_async_subdev. */ | ||
592 | struct v4l2_async_subdev *asd; | ||
593 | /* Pointer to the managing notifier. */ | ||
594 | struct v4l2_async_notifier *notifier; | ||
590 | }; | 595 | }; |
591 | 596 | ||
592 | static inline struct v4l2_subdev *v4l2_async_to_subdev( | ||
593 | struct v4l2_async_subdev_list *asdl) | ||
594 | { | ||
595 | return container_of(asdl, struct v4l2_subdev, asdl); | ||
596 | } | ||
597 | |||
598 | #define media_entity_to_v4l2_subdev(ent) \ | 597 | #define media_entity_to_v4l2_subdev(ent) \ |
599 | container_of(ent, struct v4l2_subdev, entity) | 598 | container_of(ent, struct v4l2_subdev, entity) |
600 | #define vdev_to_v4l2_subdev(vdev) \ | 599 | #define vdev_to_v4l2_subdev(vdev) \ |