ARM: keystone2: Fix serial port init
authorLokesh Vutla <lokeshvutla@ti.com>
Sat, 19 Sep 2015 09:30:16 +0000 (15:00 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:19:49 +0000 (14:19 -0400)
commit8c80b1937b1b2a06acae5786e8e7c005fe28fd71
tree4c54102324e06b9e951a7f6b52ae9fa112314807
parent0b06932cc3411a61ebd9c601101c5fb3e4e70a84
ARM: keystone2: Fix serial port init

With CONFIG_DM_SERIAL is enabled NS16550_init() cannot be
called directly. Driver probe should be taking care of this.
So call this function only when DM_SERIAL is not enabled.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-keystone/init.c