OSDN Git Service

can: ems_usb: mark timestamp as little endian
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 25 Mar 2015 09:36:17 +0000 (10:36 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 1 Apr 2015 09:08:56 +0000 (11:08 +0200)
commita0bc163a7cf2ceb413a76cfd7149c6591db829ea
tree722a6c15dc1a262448352eb360c725aa6e913696
parent8a4b5b0fb765947ff8d254e6078ca64ac0439a66
can: ems_usb: mark timestamp as little endian

The struct ems_cpc_msg describes the a message received from the USB device,
which uses little endian byte order. This patch marks the timestamp in struct
ems_cpc_msg accordingly.

Acked-by: Gerhard Uttenthaler <uttenthaler@ems-wuensche.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/ems_usb.c