ns16650: Make sure we have CONFIG_CLK set before using infrastructure
authorTom Rini <trini@konsulko.com>
Thu, 22 Sep 2016 19:36:45 +0000 (15:36 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 22 Sep 2016 19:39:11 +0000 (15:39 -0400)
commit82f5279b0cd99a9163d34cfe926d0316d9dc0d37
tree58f8f0e7c267c50cc715dc7f246ef17859715959
parent231af7f95a4e96debeb380bd904ebee60f0bd7bf
ns16650: Make sure we have CONFIG_CLK set before using infrastructure

We cannot call on the CONFIG_CLK based clk_get_rate function unless
CONFIG_CLK is set.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/serial/ns16550.c
include/clk.h