commit | 52a4eb317c04b33564f26188acb53e6c967a1718 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Mon Aug 06 18:25:33 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Tue Sep 11 08:41:17 2018 -0400 |
tree | 3d59707ca091a338bfa5ea7954cee125c6b58f9f | |
parent | 8643d237a2f7dab27c6c9189d24c5e7d4a5c5f68 [diff] |
media: uvcvideo: Make uvc_control_mapping menu_info field const The menu_info field of the uvc_control_mapping structure points to an array of menu info data that are never changed by the driver. Make the pointer const and constify the related static arrays in the driver. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>