From 1f7514bb92afb6a3ada5260e4901842e9426e3f0 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Tue, 6 May 2025 19:30:52 +0800 Subject: [PATCH] ipq40xx: gcc-ipq4019: mark qcom_find_freq_close() function as static This function is only used by the current source file gcc-ipq4019.c. Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/18725 Signed-off-by: Hauke Mehrtens --- .../patches-6.6/104-clk-fix-apss-cpu-overclocking.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ipq40xx/patches-6.6/104-clk-fix-apss-cpu-overclocking.patch b/target/linux/ipq40xx/patches-6.6/104-clk-fix-apss-cpu-overclocking.patch index a2d9fac1ec2..378e530ef6f 100644 --- a/target/linux/ipq40xx/patches-6.6/104-clk-fix-apss-cpu-overclocking.patch +++ b/target/linux/ipq40xx/patches-6.6/104-clk-fix-apss-cpu-overclocking.patch @@ -49,8 +49,8 @@ Signed-off-by: John Crispin }; + -+const struct freq_tbl *qcom_find_freq_close(const struct freq_tbl *f, -+ unsigned long rate) ++static const struct freq_tbl * ++qcom_find_freq_close(const struct freq_tbl *f, unsigned long rate) +{ + const struct freq_tbl *last = NULL; + -- 2.47.2