diff options
author | Biju Das <[email protected]> | 2023-07-25 18:51:40 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-08-04 18:18:19 -0700 |
commit | 2746f13f6f1df7999001d6595b16f789ecc28ad1 (patch) | |
tree | ec9ba67850863eb40bfe2e202c4bfa27b1c50196 /scripts/generate_rust_analyzer.py | |
parent | dd1df82ce27a05c7cf0bc5387978412e35fbdaaf (diff) |
clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
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 <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Biju Das <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions