diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-11-28 15:55:37 +0100 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-12-09 20:54:35 +0100 |
commit | 89ad26f5f8bbcbdb54096bc8786d9b6f0acb79e6 (patch) | |
tree | a8fc6b066300b6cf8b74a4674cf1a24cb59df998 /drivers/tty/goldfish.c | |
parent | serial: ucc_uart: stub out soft_uart_init for !CONFIG_PPC32 (diff) | |
download | linux-89ad26f5f8bbcbdb54096bc8786d9b6f0acb79e6.tar.xz linux-89ad26f5f8bbcbdb54096bc8786d9b6f0acb79e6.zip |
serial: ucc_uart: use of_property_read_u32() in ucc_uart_probe()
For this to work correctly on little-endian hosts, don't access the
device-tree properties directly in native endianness, but use the
of_property_read_u32() helper.
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 'drivers/tty/goldfish.c')
0 files changed, 0 insertions, 0 deletions