libcamera: camera: Constify controls argument to start()
The ControlList passed to the Camera::start() function isn't modified. Make it const. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -1018,7 +1018,7 @@ int Camera::queueRequest(Request *request)
|
||||
* \retval -ENODEV The camera has been disconnected from the system
|
||||
* \retval -EACCES The camera is not in a state where it can be started
|
||||
*/
|
||||
int Camera::start(ControlList *controls)
|
||||
int Camera::start(const ControlList *controls)
|
||||
{
|
||||
Private *const d = LIBCAMERA_D_PTR();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user