Re: [PATCH] clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux