diff options
author | Arnd Bergmann <[email protected]> | 2020-04-08 18:05:07 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-04-13 12:20:06 -0700 |
commit | 742b50f9dccf20b4f908162de986b78e7186bb80 (patch) | |
tree | 8a57585ce8c3d7497b23eba953a7a8fab47fd7c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 924ed1f5c181132897c5928af7f3afd28792889c (diff) |
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 <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: Guenter Roeck <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions