aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHartmut Knaack <[email protected]>2015-07-09 21:51:30 +0000
committerJonathan Cameron <[email protected]>2015-07-19 13:54:45 +0000
commit423ad0c405d87868bd1ab19e8b503e6a41c86caf (patch)
tree0221c5107a5f4e118aacdab0f96b976f1970ee14 /net/switchdev/switchdev.c
parentiio:light:stk3310: move device register to end of probe (diff)
downloadkernel-423ad0c405d87868bd1ab19e8b503e6a41c86caf.tar.gz
kernel-423ad0c405d87868bd1ab19e8b503e6a41c86caf.zip
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 <[email protected]> Reviewed-by: Tiberiu Breana <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions