aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/can/can-ml.h
diff options
context:
space:
mode:
authorThe j1939 authors <linux-can@vger.kernel.org>2018-10-08 11:48:36 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-09-04 14:22:33 +0200
commit9d71dd0c70099914fcd063135da3c580865e924c (patch)
treece8286b670ecdc8fd4a671224b34f7161b660502 /include/linux/can/can-ml.h
parentcan: extend sockaddr_can to include j1939 members (diff)
downloadlinux-dev-9d71dd0c70099914fcd063135da3c580865e924c.tar.xz
linux-dev-9d71dd0c70099914fcd063135da3c580865e924c.zip
can: add support of SAE J1939 protocol
SAE J1939 is the vehicle bus recommended practice used for communication and diagnostics among vehicle components. Originating in the car and heavy-duty truck industry in the United States, it is now widely used in other parts of the world. J1939, ISO 11783 and NMEA 2000 all share the same high level protocol. SAE J1939 can be considered the replacement for the older SAE J1708 and SAE J1587 specifications. Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Bastian Stender <bst@pengutronix.de> Signed-off-by: Elenita Hinds <ecathinds@gmail.com> Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> Signed-off-by: Maxime Jayat <maxime.jayat@mobile-devices.fr> Signed-off-by: Robin van der Gracht <robin@protonic.nl> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can/can-ml.h')
-rw-r--r--include/linux/can/can-ml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/can/can-ml.h b/include/linux/can/can-ml.h
index 79ccf6bfa232..2f5d731ae251 100644
--- a/include/linux/can/can-ml.h
+++ b/include/linux/can/can-ml.h
@@ -60,6 +60,9 @@ struct can_dev_rcv_lists {
struct can_ml_priv {
struct can_dev_rcv_lists dev_rcv_lists;
+#ifdef CAN_J1939
+ struct j1939_priv *j1939_priv;
+#endif
};
#endif /* CAN_ML_H */