diff options
author | Stephane Grosjean <s.grosjean@peak-system.com> | 2015-01-23 11:31:19 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-01-28 14:47:05 +0100 |
commit | e3c5ea60b474f9ba7e99542325416ca6d833cba9 (patch) | |
tree | 70655a9f6f2e6a3ab7568d4eb686dff8103afef1 /drivers/net/can/usb/peak_usb/pcan_usb_core.h | |
parent | can: peak_usb: constify struct peak_usb_adapter (diff) | |
download | linux-dev-e3c5ea60b474f9ba7e99542325416ca6d833cba9.tar.xz linux-dev-e3c5ea60b474f9ba7e99542325416ca6d833cba9.zip |
can: peak_usb: export ctrlmode_supported to adapter specific definition
Export the ctrlmode_supported value from the core file to each adapter specific
file. This has been mandatory for supporting the new CANFD extension.
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb/peak_usb/pcan_usb_core.h')
-rw-r--r-- | drivers/net/can/usb/peak_usb/pcan_usb_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_core.h b/drivers/net/can/usb/peak_usb/pcan_usb_core.h index 10f2fcac7c13..54fdb5978a05 100644 --- a/drivers/net/can/usb/peak_usb/pcan_usb_core.h +++ b/drivers/net/can/usb/peak_usb/pcan_usb_core.h @@ -44,6 +44,7 @@ struct peak_usb_device; struct peak_usb_adapter { char *name; u32 device_id; + u32 ctrlmode_supported; struct can_clock clock; const struct can_bittiming_const bittiming_const; unsigned int ctrl_count; |