Arnd Bergmann 742b50f9dc clk: mmp2: fix link error without mmp2
The newly added function is only built into the kernel if mmp2
is enabled, causing a link error otherwise.

arm-linux-gnueabi-ld: drivers/clk/mmp/clk.o: in function `mmp_register_pll_clks':
clk.c:(.text+0x6dc): undefined reference to `mmp_clk_register_pll'

Move it to a different file to get it to link.

Fixes: 5d34d0b32d6c ("clk: mmp2: Add support for PLL clock sources")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lkml.kernel.org/r/20200408160518.2798571-1-arnd@arndb.de
Reported-by: Guenter Roeck <linux@roeck-us.net>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2020-04-13 12:20:06 -07:00
..
2020-01-04 23:34:39 -08:00
2020-01-04 23:34:39 -08:00
2020-03-06 12:06:01 -08:00
2019-05-30 16:33:37 -07:00
2020-04-03 15:22:05 -07:00
2018-12-11 09:57:47 -08:00
2020-01-28 13:26:48 -08:00
2019-07-15 20:18:40 -07:00