[openwrt/openwrt] ipq40xx: gcc-ipq4019: mark qcom_find_freq_close() function as static

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 20 06:38:37 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1f7514bb92afb6a3ada5260e4901842e9426e3f0

commit 1f7514bb92afb6a3ada5260e4901842e9426e3f0
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Tue May 6 19:30:52 2025 +0800

    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 <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18725
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../linux/ipq40xx/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 a2d9fac1ec..378e530ef6 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 <john at phrozen.org>
  };
  
 +
-+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;
 +




More information about the lede-commits mailing list