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 /drivers/net/can/pch_can.c | |
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 'drivers/net/can/pch_can.c')
-rw-r--r-- | drivers/net/can/pch_can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c index 1226297e7676..48b3d62b34cb 100644 --- a/drivers/net/can/pch_can.c +++ b/drivers/net/can/pch_can.c | |||
@@ -184,7 +184,7 @@ struct pch_can_priv { | |||
184 | int use_msi; | 184 | int use_msi; |
185 | }; | 185 | }; |
186 | 186 | ||
187 | static struct can_bittiming_const pch_can_bittiming_const = { | 187 | static const struct can_bittiming_const pch_can_bittiming_const = { |
188 | .name = KBUILD_MODNAME, | 188 | .name = KBUILD_MODNAME, |
189 | .tseg1_min = 2, | 189 | .tseg1_min = 2, |
190 | .tseg1_max = 16, | 190 | .tseg1_max = 16, |