summaryrefslogtreecommitdiff
path: root/mm/msync.c
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-07-10 00:51:30 +0300
committerJonathan Cameron <jic23@kernel.org>2015-07-19 16:54:45 +0300
commit423ad0c405d87868bd1ab19e8b503e6a41c86caf (patch)
tree0221c5107a5f4e118aacdab0f96b976f1970ee14 /mm/msync.c
parent037e966f2d63896129220112644f32962af6d115 (diff)
downloadlinux-423ad0c405d87868bd1ab19e8b503e6a41c86caf.tar.xz
iio:light:stk3310: make endianness independent of host
Data is stored in the device in be16 format. Make use of be16_to_cpu and cpu_to_be16 to have correct endianness on any host architecture. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Reviewed-by: Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions