mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-21 03:39:21 +00:00
Patches 12 and 13 have been superseded by patch 12. Other patches have no significant changes. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/19675 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
29 lines
971 B
Diff
29 lines
971 B
Diff
From de521c6d99d755bbdfa0f1f35299a3e2b02b0dfe Mon Sep 17 00:00:00 2001
|
|
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Wed, 18 Jun 2025 22:53:14 +0800
|
|
Subject: [PATCH 05/11] MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
|
|
|
|
Fix the following missing-prototypes warning:
|
|
|
|
arch/mips/lantiq/xway/clk.c:77:15: error: no previous prototype for 'ltq_ar9_sys_hz' [-Werror=missing-prototypes]
|
|
77 | unsigned long ltq_ar9_sys_hz(void)
|
|
| ^~~~~~~~~~~~~~
|
|
|
|
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
|
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
|
---
|
|
arch/mips/lantiq/xway/clk.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/mips/lantiq/xway/clk.c
|
|
+++ b/arch/mips/lantiq/xway/clk.c
|
|
@@ -74,7 +74,7 @@ unsigned long ltq_danube_pp32_hz(void)
|
|
return clk;
|
|
}
|
|
|
|
-unsigned long ltq_ar9_sys_hz(void)
|
|
+static unsigned long ltq_ar9_sys_hz(void)
|
|
{
|
|
if (((ltq_cgu_r32(CGU_SYS) >> 3) & 0x3) == 0x2)
|
|
return CLOCK_393M;
|