]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ipq40xx: gcc-ipq4019: mark qcom_find_freq_close() function as static
authorShiji Yang <yangshiji66@outlook.com>
Tue, 6 May 2025 11:30:52 +0000 (19:30 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 20 Jul 2025 13:33:02 +0000 (15:33 +0200)
This function is only used by the current source file gcc-ipq4019.c.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ipq40xx/patches-6.6/104-clk-fix-apss-cpu-overclocking.patch

index a2d9fac1ec249ba4b63fad48e6c3803a1095a2c3..378e530ef6f8c8a9f0f9b5b917acf22c7867e374 100644 (file)
@@ -49,8 +49,8 @@ Signed-off-by: John Crispin <john@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;
 +