summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ltc2992.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-04-20 06:47:57 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 16:11:55 +0300
commitaf621ba2ede802bcd01b9d9af539f95030e21795 (patch)
tree79cd9c0d48f70f6aa58f29e766761185520d57c0 /drivers/hwmon/ltc2992.c
parent7691d900b9291417dc6a88262f43176a63536c31 (diff)
downloadlinux-af621ba2ede802bcd01b9d9af539f95030e21795.tar.xz
media: uvcvideo: Constify formats, frames and intervals
The formats, frames and intervals stored in the uvc_streaming structure are not meant to change after being parsed at probe time. Make them const to prevent unintended modifications, and adapt the probe code accordingly to use non-const pointers during parsing. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/hwmon/ltc2992.c')
0 files changed, 0 insertions, 0 deletions