diff options
| author | 2014-02-28 16:36:22 +0100 | |
|---|---|---|
| committer | 2014-03-07 09:18:22 +0100 | |
| commit | 08da7da41ea490eab08ad9e2674e3b92d6aa2b07 (patch) | |
| tree | dab3fbc1e164cf04748bb331715ce9261c16a3c5 /include/linux | |
| parent | can: move sanity check for bitrate and tq into can_get_bittiming (diff) | |
| download | linux-dev-08da7da41ea490eab08ad9e2674e3b92d6aa2b07.tar.xz linux-dev-08da7da41ea490eab08ad9e2674e3b92d6aa2b07.zip | |
can: provide a separate bittiming_const parameter to bittiming functions
As the bittiming calculation functions are to be used with different
bittiming_const structures for CAN and CAN FD the direct reference to
priv->bittiming_const inside these functions has to be removed.
Also moved the check for existing bittiming const to one place.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
