summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/mscan
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-07-16 12:58:31 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-20 12:31:05 +0200
commit194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f (patch)
tree5d32819f28dac1346f827a35afe6f626b8dd807c /drivers/net/can/mscan
parentMerge branch 'net' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/... (diff)
downloadlinux-194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f.tar.xz
linux-194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f.zip
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/mscan')
-rw-r--r--drivers/net/can/mscan/mscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c
index 41a2a2dda7ea..2b104d5f422c 100644
--- a/drivers/net/can/mscan/mscan.c
+++ b/drivers/net/can/mscan/mscan.c
@@ -34,7 +34,7 @@
#include "mscan.h"
-static struct can_bittiming_const mscan_bittiming_const = {
+static const struct can_bittiming_const mscan_bittiming_const = {
.name = "mscan",
.tseg1_min = 4,
.tseg1_max = 16,