commit | 1f0dee39e3cb272c32bb878d0a78d91300326d2b | [log] [tgz] |
---|---|---|
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | Mon Aug 19 13:30:18 2019 +0530 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Aug 20 13:41:25 2019 +0200 |
tree | e88b6bfc095008e96b1c4906fb4754faf4e323ae | |
parent | 30cc0ed73e3390af7c5573b159826e8162f09fe7 [diff] |
can: peak_pci: Make structure peak_pciec_i2c_bit_ops constant Static structure peak_pciec_i2c_bit_ops, of type i2c_algo_bit_data, is not used except to be copied into another variable. Hence make it const to protect it from modification. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>