mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-27 04:13:14 -04:00
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>
This commit is contained in:
committed by
Thomas Bogendoerfer
parent
d97930fbf2
commit
01432b5136
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user