aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-subdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/v4l2-subdev.h')
-rw-r--r--include/media/v4l2-subdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index cd640c6f039b..05b69652e6c4 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -137,7 +137,7 @@ struct v4l2_subdev_ops {
137struct v4l2_subdev { 137struct v4l2_subdev {
138 struct list_head list; 138 struct list_head list;
139 struct module *owner; 139 struct module *owner;
140 struct v4l2_device *dev; 140 struct v4l2_device *v4l2_dev;
141 const struct v4l2_subdev_ops *ops; 141 const struct v4l2_subdev_ops *ops;
142 /* name must be unique */ 142 /* name must be unique */
143 char name[V4L2_SUBDEV_NAME_SIZE]; 143 char name[V4L2_SUBDEV_NAME_SIZE];
@@ -176,7 +176,7 @@ static inline void v4l2_subdev_init(struct v4l2_subdev *sd,
176 /* ops->core MUST be set */ 176 /* ops->core MUST be set */
177 BUG_ON(!ops || !ops->core); 177 BUG_ON(!ops || !ops->core);
178 sd->ops = ops; 178 sd->ops = ops;
179 sd->dev = NULL; 179 sd->v4l2_dev = NULL;
180 sd->name[0] = '\0'; 180 sd->name[0] = '\0';
181 sd->grp_id = 0; 181 sd->grp_id = 0;
182 sd->priv = NULL; 182 sd->priv = NULL;