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@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang 2025-05-06 19:30:52 +08:00 committed by Hauke Mehrtens
parent 875c3ba079
commit 1f7514bb92

View 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;
+