diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-11-28 15:55:39 +0100 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-12-09 13:54:35 -0600 |
commit | 09a39ec9decd99ef4dfaa21a83ce09f719495b49 (patch) | |
tree | cfb85dd36bc08db556213616e7dcf283b835ed60 /include | |
parent | b0816f88b9b5a829401a1473e51c7001940d616f (diff) | |
download | linux-09a39ec9decd99ef4dfaa21a83ce09f719495b49.tar.gz linux-09a39ec9decd99ef4dfaa21a83ce09f719495b49.tar.bz2 linux-09a39ec9decd99ef4dfaa21a83ce09f719495b49.zip |
serial: ucc_uart: access __be32 field using be32_to_cpu
The buf member of struct qe_bd is a __be32, so to make this work on
little-endian hosts, use be32_to_cpu when reading it.
Reviewed-by: Timur Tabi <timur@kernel.org>
Acked-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions