alistair23-linux/drivers/clk/mmp
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: 5d34d0b32d ("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
..
clk-apbc.c clk: mmp: make clk_ops const 2017-11-01 23:25:47 -07:00
clk-apmu.c clk: mmp: make clk_ops const 2017-11-01 23:25:47 -07:00
clk-frac.c clk: let init callback return an error code 2019-12-23 18:53:13 -08:00
clk-gate.c clk: Remove CLK_IS_BASIC clk flag 2019-04-26 10:40:49 -07:00
clk-mix.c clk: mmp2: Constify some strings 2020-03-20 18:19:30 -07:00
clk-mmp2.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk-of-mmp2.c clk: mmp2: Fix bit masks for LCDC I/O and pixel clocks 2020-03-20 18:19:41 -07:00
clk-of-pxa168.c clk: mmp: pxa168: fix return value check in pxa168_clk_init() 2016-11-01 17:41:20 -07:00
clk-of-pxa910.c clk:mmp:clk-of-pxa910: Free memory and Unmap region obtained by kzmalloc and of_iomap 2016-12-08 16:29:38 -08:00
clk-of-pxa1928.c clk: mmp: clk-of-pxa1928: Free memory obtained by kzalloc 2016-12-08 16:29:37 -08:00
clk-pll.c clk: mmp2: fix link error without mmp2 2020-04-13 12:20:06 -07:00
clk-pxa168.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk-pxa910.c clk: mmp: Adjust checks for NULL pointers 2017-11-13 17:41:17 -08:00
clk.c clk: mmp2: fix link error without mmp2 2020-04-13 12:20:06 -07:00
clk.h clk: mmp2: fix link error without mmp2 2020-04-13 12:20:06 -07:00
Makefile clk: mmp2: Add support for PLL clock sources 2020-03-20 18:19:31 -07:00
reset.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00