clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource
authorWeiyi Lu <weiyi.lu@mediatek.com>
Fri, 28 Jun 2019 07:22:34 +0000 (15:22 +0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 22 Jul 2019 21:32:52 +0000 (14:32 -0700)
commitc93d059a80450af99dd6c0e8c36790579343675a
treec460da33e735a322e72c59074ee81f8dd1728ece
parent6ee82ef04e38b0d8b09b04bc1b068673deed6582
clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource

The 13MHz clock should be registered before clocksource driver is
initialized. Use CLK_OF_DECLARE_DRIVER() to guarantee.

Fixes: acddfc2c261b ("clk: mediatek: Add MT8183 clock support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8183.c