aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-08 17:31:17 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 09:19:56 -0400
commitcb8d67cf70b4bc7d60c356896823022717b70d1e (patch)
tree440a2e8c4a16c2f134f34a89d82564d5d0eda881
parent0d56015d80a2c187c107d7780b89712bda8eee2e (diff)
[media] v4l2-subdev: fix some references to v4l2_dev
There is a warning there, because it was pointing to a different name. Fix it. While here, use struct &foo, instead of &struct foo. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--include/media/v4l2-subdev.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 2c1e328ccb1d..e175c2c891a8 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -764,7 +764,7 @@ struct v4l2_subdev_platform_data {
764 * @entity: pointer to &struct media_entity 764 * @entity: pointer to &struct media_entity
765 * @list: List of sub-devices 765 * @list: List of sub-devices
766 * @owner: The owner is the same as the driver's &struct device owner. 766 * @owner: The owner is the same as the driver's &struct device owner.
767 * @owner_v4l2_dev: true if the &sd->owner matches the owner of &v4l2_dev->dev 767 * @owner_v4l2_dev: true if the &sd->owner matches the owner of @v4l2_dev->dev
768 * ownner. Initialized by v4l2_device_register_subdev(). 768 * ownner. Initialized by v4l2_device_register_subdev().
769 * @flags: subdev flags. Can be: 769 * @flags: subdev flags. Can be:
770 * %V4L2_SUBDEV_FL_IS_I2C - Set this flag if this subdev is a i2c device; 770 * %V4L2_SUBDEV_FL_IS_I2C - Set this flag if this subdev is a i2c device;
@@ -774,9 +774,9 @@ struct v4l2_subdev_platform_data {
774 * %V4L2_SUBDEV_FL_HAS_EVENTS - Set this flag if this subdev generates 774 * %V4L2_SUBDEV_FL_HAS_EVENTS - Set this flag if this subdev generates
775 * events. 775 * events.
776 * 776 *
777 * @v4l2_dev: pointer to &struct v4l2_device 777 * @v4l2_dev: pointer to struct &v4l2_device
778 * @ops: pointer to &struct v4l2_subdev_ops 778 * @ops: pointer to struct &v4l2_subdev_ops
779 * @internal_ops: pointer to &struct v4l2_subdev_internal_ops. 779 * @internal_ops: pointer to struct &v4l2_subdev_internal_ops.
780 * Never call these internal ops from within a driver! 780 * Never call these internal ops from within a driver!
781 * @ctrl_handler: The control handler of this subdev. May be NULL. 781 * @ctrl_handler: The control handler of this subdev. May be NULL.
782 * @name: Name of the sub-device. Please notice that the name must be unique. 782 * @name: Name of the sub-device. Please notice that the name must be unique.