diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-08-19 04:38:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-21 18:39:55 -0300 |
commit | 05fa782e2547e2fa2d9233182abdb406605346e0 (patch) | |
tree | 147594fd562127c8c4db120ea360d24188fd22b4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a37c2efc087ce849e75ee135e1a52fd1fb2f81eb (diff) |
media: ec168: Make structure ec168_props constant
The static structure ec168_props, of type dvb_usb_device_properties, is
used only once, when it is assigned to field props of the constant
structure ec168_driver_info. As this means that ec168_props will never be
modified, make it const as well in order to prevent unintended
modification of its fields.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions