- struct v4l2_ctrl * v4l2_ctrl_add_ctrl(struct v4l2_ctrl_handler * hdl, struct v4l2_ctrl * ctrl);
- The control handler.
- The control to add.
It will return NULL if it was unable to add the control reference. If the control already belonged to the handler, then it will do nothing and just return ctrl.