summaryrefslogtreecommitdiff
path: root/src/qcam/dng_writer.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-02 14:06:24 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-04 10:05:35 +0200
commitf2067dffedfe41ab5de62778c478a2add67d5dfb (patch)
tree7ed4d599a3883378e3408e99cc93406eeeeac30f /src/qcam/dng_writer.h
parenta52eebed200fff5eec65942eb3b2b87073645c97 (diff)
libcamera: v4l2_device: Make fd() function const
There are use cases for getting the file descriptor of a const V4L2Device instance, for instance to print it in a log. Make the function const. There's little risk of abuse here (as in code then performing operations on the file descriptors that conceptually modify the V4L2 device), as the fd() function is protected. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/qcam/dng_writer.h')
0 files changed, 0 insertions, 0 deletions