tty: serial: samsung: fixup accessors for endian
authorMatthew Leach <matthew@mattleach.net>
Wed, 22 Jun 2016 16:57:02 +0000 (17:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:04:12 +0000 (14:04 -0700)
commite37697b3f75464dbf86ecb0f480eb11581cc75d2
treebbe2d338e001a9114ec5f40f2dce316d19f7cad0
parent3548e45c71881eb6c9d324f04ae32b28ce7439e9
tty: serial: samsung: fixup accessors for endian

Fix the serial access code to deal with kernels built for big endian
operation.

Signed-off-by: Matthew Leach <matthew@mattleach.net>
Acked-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.h