|
@@ -1409,6 +1409,7 @@ static int ov772x_probe(struct i2c_client *client,
|
|
|
mutex_init(&priv->lock);
|
|
|
|
|
|
v4l2_i2c_subdev_init(&priv->subdev, client, &ov772x_subdev_ops);
|
|
|
+ priv->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
|
|
|
v4l2_ctrl_handler_init(&priv->hdl, 3);
|
|
|
/* Use our mutex for the controls */
|
|
|
priv->hdl.lock = &priv->lock;
|