diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-04-20 06:47:57 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 16:11:55 +0300 |
commit | af621ba2ede802bcd01b9d9af539f95030e21795 (patch) | |
tree | 79cd9c0d48f70f6aa58f29e766761185520d57c0 /drivers/hwmon/ltc2992.c | |
parent | 7691d900b9291417dc6a88262f43176a63536c31 (diff) | |
download | linux-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