diff options
author | Nishka Dasgupta <[email protected]> | 2019-08-19 13:28:54 +0530 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2019-09-03 20:17:27 +0200 |
commit | 7077ad2ee316551b4ba9602838d09b67683e20b6 (patch) | |
tree | 881b1127f21566eac36cc87cbf0eac9d446ff0f8 /scripts/gdb/linux/modules.py | |
parent | f8c274e4a70e7cdc43db56e2391c485c580b5a43 (diff) |
i2c: synquacer: Make synquacer_i2c_ops constant
Static structure synquacer_i2c_ops, of type i2c_adapter, is only used
when it is copied into a field of another structure. It is not itself
modified. Hence make it const to protect it from unintended
modification.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions