diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-16 06:58:31 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-20 06:31:05 -0400 |
commit | 194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f (patch) | |
tree | 5d32819f28dac1346f827a35afe6f626b8dd807c /include/linux/can | |
parent | 769162e38b91e1d300752e666260fa6c7b203fbc (diff) |
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>
Diffstat (limited to 'include/linux/can')
-rw-r--r-- | include/linux/can/dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h index ee5a771fb20d..2b2fc345afca 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h | |||
@@ -33,7 +33,7 @@ struct can_priv { | |||
33 | struct can_device_stats can_stats; | 33 | struct can_device_stats can_stats; |
34 | 34 | ||
35 | struct can_bittiming bittiming; | 35 | struct can_bittiming bittiming; |
36 | struct can_bittiming_const *bittiming_const; | 36 | const struct can_bittiming_const *bittiming_const; |
37 | struct can_clock clock; | 37 | struct can_clock clock; |
38 | 38 | ||
39 | enum can_state state; | 39 | enum can_state state; |