ems_usb: Fix byte order issues on big endian machines
authorSebastian Haas <haas@ems-wuensche.com>
Wed, 4 Nov 2009 05:48:33 +0000 (05:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:26:07 +0000 (20:26 -0800)
commit2b2072e902848a63168570f500a5726744b3873a
tree754df0db6446ed1f53e59002b5137a792be5eaff
parent4f2aa89cd263932d61f286307771996df76bf63e
ems_usb: Fix byte order issues on big endian machines

CPC-USB is using a ARM7 core with little endian byte order. The "id" field
in can_msg needs byte order conversion from/to CPU byte order.

Signed-off-by: Sebastian Haas <haas@ems-wuensche.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/usb/ems_usb.c