]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: hostif, u32 data types to __le32
authorTobin C. Harding <me@tobin.cc>
Mon, 8 May 2017 04:29:44 +0000 (14:29 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:43:54 +0000 (07:43 +0200)
commitf5b226da5abfa7ffa2e0a927babe34bf052ac1b4
tree003c7e7b1501a2e07c125188168845d1dbf9ef41
parent3e882e0fd2f517d2488f82fb50310184db8a8408
staging: ks7010: hostif, u32 data types to __le32

Target device is little endian. Host interface data structures used
for building frames to pass to target device should use little endian
data types. All u32 structure members in ks_hostif.h need to be
changed to __le32.

Change all u16 data types in host interface structures to be
__le32.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.h