serial_lpuart: Fix config check issue when using clk driver in SPL
authorYe Li <ye.li@nxp.com>
Thu, 11 Jul 2019 03:33:34 +0000 (03:33 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
commitaf325e9597dfe47943f6f3b92d0b7012317f4a53
tree0da62f44d07abc277cba24effeca94b4c0408d27
parentd44f793207973845fdaa0c539bed785607659bab
serial_lpuart: Fix config check issue when using clk driver in SPL

Should use CONFIG_IS_ENABLED not IS_ENABLED for CLK driver, so it will
check the CONFIG_SPL_CLK when building SPL

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/serial/serial_lpuart.c