diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-16 12:58:31 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-20 12:31:05 +0200 |
commit | 194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f (patch) | |
tree | 5d32819f28dac1346f827a35afe6f626b8dd807c /drivers/net/can/usb/esd_usb2.c | |
parent | 769162e38b91e1d300752e666260fa6c7b203fbc (diff) | |
download | linux-194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f.tar.gz linux-194b9a4cb91713ddb60c9f98f7212f6d8cb8e05f.tar.bz2 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/usb/esd_usb2.c')
-rw-r--r-- | drivers/net/can/usb/esd_usb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/usb/esd_usb2.c b/drivers/net/can/usb/esd_usb2.c index 09b1da5bc512..bd36e5517173 100644 --- a/drivers/net/can/usb/esd_usb2.c +++ b/drivers/net/can/usb/esd_usb2.c @@ -871,7 +871,7 @@ static const struct net_device_ops esd_usb2_netdev_ops = { .ndo_start_xmit = esd_usb2_start_xmit, }; -static struct can_bittiming_const esd_usb2_bittiming_const = { +static const struct can_bittiming_const esd_usb2_bittiming_const = { .name = "esd_usb2", .tseg1_min = ESD_USB2_TSEG1_MIN, .tseg1_max = ESD_USB2_TSEG1_MAX, |