mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-17 20:29:22 +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>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 01432b513638b0ffb080aa211b5b7f7ecf316f24 Mon Sep 17 00:00:00 2001
|
|
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Wed, 18 Jun 2025 22:53:21 +0800
|
|
Subject: [PATCH 09/11] MIPS: lantiq: falcon: sysctrl: remove unused
|
|
falcon_trigger_hrst()
|
|
|
|
This is a defined but unused function. Fix warning:
|
|
|
|
arch/mips/lantiq/falcon/sysctrl.c:75:6: error: no previous prototype for 'falcon_trigger_hrst' [-Werror=missing-prototypes]
|
|
75 | void falcon_trigger_hrst(int level)
|
|
| ^~~~~~~~~~~~~~~~~~~
|
|
|
|
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
|
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
|
---
|
|
arch/mips/lantiq/falcon/sysctrl.c | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
--- a/arch/mips/lantiq/falcon/sysctrl.c
|
|
+++ b/arch/mips/lantiq/falcon/sysctrl.c
|
|
@@ -72,11 +72,6 @@
|
|
static void __iomem *sysctl_membase[3], *status_membase;
|
|
void __iomem *ltq_sys1_membase, *ltq_ebu_membase;
|
|
|
|
-void falcon_trigger_hrst(int level)
|
|
-{
|
|
- sysctl_w32(SYSCTL_SYS1, level & 1, SYS1_HRSTOUTC);
|
|
-}
|
|
-
|
|
static inline void sysctl_wait(struct clk *clk,
|
|
unsigned int test, unsigned int reg)
|
|
{
|