Files
Biju DasandGreg Kroah-Hartman 91cbf41a9d clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
[ Upstream commit 2746f13f6f ]

The COMMON_CLK config is not enabled in some of the architectures.
This causes below build issues:

pwm-rz-mtu3.c:(.text+0x114):
undefined reference to `clk_rate_exclusive_put'
pwm-rz-mtu3.c:(.text+0x32c):
undefined reference to `clk_rate_exclusive_get'

Fix these issues by moving clk_rate_exclusive_{get,put} inside COMMON_CLK
code block, as clk.c is enabled by COMMON_CLK.

Fixes: 55e9b8b7b8 ("clk: add clk_rate_exclusive api")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/all/202307251752.vLfmmhYm-lkp@intel.com/
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230725175140.361479-1-biju.das.jz@bp.renesas.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-30 16:23:19 +02:00
..
2023-08-26 15:26:49 +02:00
2022-08-21 15:16:16 +02:00
2022-10-26 13:25:35 +02:00
2022-10-26 13:25:42 +02:00
2022-04-13 21:00:56 +02:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2022-08-21 15:16:08 +02:00
2021-11-18 14:03:37 +01:00
2022-08-21 15:15:21 +02:00
2023-01-04 11:39:16 +01:00
2023-06-21 15:45:38 +02:00
2023-08-26 15:26:57 +02:00
2023-03-17 08:45:14 +01:00
2023-05-17 11:48:09 +02:00