Quoting Biju Das (2023-07-25 10:51:40) > 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: 55e9b8b7b806 ("clk: add clk_rate_exclusive api") > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Closes: https://lore.kernel.org/all/202307251752.vLfmmhYm-lkp@xxxxxxxxx/ > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > --- Applied to clk-fixes