1
0
Fork 0
alistair23-linux/drivers/net/can/sja1000
Nishka Dasgupta 1f0dee39e3 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>
2019-08-20 13:41:25 +02:00
..
Kconfig can: sja1000: f81601: add Fintek F81601 support 2019-07-24 10:30:37 +02:00
Makefile can: sja1000: f81601: add Fintek F81601 support 2019-07-24 10:30:37 +02:00
ems_pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 344 2019-06-05 17:37:07 +02:00
ems_pcmcia.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495 2019-06-19 17:09:52 +02:00
f81601.c can: sja1000: f81601: remove unused including <linux/version.h> 2019-08-13 16:37:03 +02:00
kvaser_pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 344 2019-06-05 17:37:07 +02:00
peak_pci.c can: peak_pci: Make structure peak_pciec_i2c_bit_ops constant 2019-08-20 13:41:25 +02:00
peak_pcmcia.c can: sja1000: force the string buffer NULL-terminated 2019-08-02 13:26:10 +02:00
plx_pci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 344 2019-06-05 17:37:07 +02:00
sja1000.c can: sja1000: Fix error location forwarding 2016-05-09 11:07:28 +02:00
sja1000.h can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
sja1000_isa.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 344 2019-06-05 17:37:07 +02:00
sja1000_platform.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 344 2019-06-05 17:37:07 +02:00
tscan1.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00