commit | 002dedc5e933f6683b48de2f5702089c65b86bd1 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | Thu Nov 28 15:55:36 2019 +0100 |
committer | Li Yang <leoyang.li@nxp.com> | Mon Dec 09 13:54:35 2019 -0600 |
tree | b03a10514fdcfc84927a90ae595461829a49b21b | |
parent | 96b6b6aaac79c5cef667a80c88e87b9fe147ef9a [diff] |
serial: ucc_uart: stub out soft_uart_init for !CONFIG_PPC32 The Soft UART hack is only needed for some PPC-based SOCs. To allow building this driver for non-PPC, guard soft_uart_init() and its helpers by CONFIG_PPC32, and use a no-op soft_uart_init() otherwise. 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>