]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
can: mark bittiming_const pointer in struct can_priv as const
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 16 Jul 2012 10:58:31 +0000 (12:58 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Jul 2012 10:31:05 +0000 (12:31 +0200)
commit194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f
tree5d32819f28dac1346f827a35afe6f626b8dd807c
parent769162e38b91e1d300752e666260fa6c7b203fbc
can: mark bittiming_const pointer in struct can_priv as const

This patch marks the bittiming_const pointer as in the struct can_pric as
"const". This allows us to mark the struct can_bittiming_const in the CAN
drivers as "const", too.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
15 files changed:
drivers/net/can/at91_can.c
drivers/net/can/bfin_can.c
drivers/net/can/c_can/c_can.c
drivers/net/can/cc770/cc770.c
drivers/net/can/flexcan.c
drivers/net/can/janz-ican3.c
drivers/net/can/mcp251x.c
drivers/net/can/mscan/mscan.c
drivers/net/can/pch_can.c
drivers/net/can/sja1000/sja1000.c
drivers/net/can/ti_hecc.c
drivers/net/can/usb/ems_usb.c
drivers/net/can/usb/esd_usb2.c
drivers/net/can/usb/peak_usb/pcan_usb_core.h
include/linux/can/dev.h