summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-15 08:55:50 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-08-30 16:01:12 +0300
commit67a53081e655d41a77f510377364600e5e9bf89c (patch)
treeed600ae1e85b271cfe8dc96c0e66d7c904bbdcd1 /tools/perf/scripts/python/export-to-sqlite.py
parent539005ffc6260fcb3bb4171138be5f66a41185a9 (diff)
downloadlinux-67a53081e655d41a77f510377364600e5e9bf89c.tar.xz
i2c: iproc: Make bcm_iproc_i2c_quirks constant
Static structure bcm_iproc_i2c_quirks, of type i2c_adapter_quirks, is only used when being assigned to constant field quirks of a variable having type i2c_adapter. Hence make bcm_iproc_i2c_quirks constant as well to prevent it from unintended modification. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions