git: e5d7c5c857f8 - main - arm: mv: Add missing function prototype

From: Kornel Dulęba <kd_at_FreeBSD.org>
Date: Sat, 04 Feb 2023 19:22:24 UTC
The branch main has been updated by kd:

URL: https://cgit.FreeBSD.org/src/commit/?id=e5d7c5c857f8a1ba56c14b9430b91cd57eb5579e

commit e5d7c5c857f8a1ba56c14b9430b91cd57eb5579e
Author:     Kornel Dulęba <kd@FreeBSD.org>
AuthorDate: 2023-02-04 18:30:33 +0000
Commit:     Kornel Dulęba <kd@FreeBSD.org>
CommitDate: 2023-02-04 19:21:43 +0000

    arm: mv: Add missing function prototype
    
    This fixes armv7 kernel build with gcc12.
---
 sys/arm/mv/armada/wdt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/arm/mv/armada/wdt.c b/sys/arm/mv/armada/wdt.c
index 7e0887e35138..be0b607cd2b2 100644
--- a/sys/arm/mv/armada/wdt.c
+++ b/sys/arm/mv/armada/wdt.c
@@ -69,6 +69,7 @@ struct mv_wdt_config {
 static void mv_wdt_enable_armv5(void);
 static void mv_wdt_enable_armada_38x(void);
 static void mv_wdt_enable_armada_xp(void);
+static inline void mv_wdt_enable_armada_38x_xp_helper(void);
 
 static void mv_wdt_disable_armv5(void);
 static void mv_wdt_disable_armada_38x(void);
@@ -232,7 +233,7 @@ mv_wdt_enable_armv5(void)
 }
 
 static inline void
-mv_wdt_enable_armada_38x_xp_helper()
+mv_wdt_enable_armada_38x_xp_helper(void)
 {
 	uint32_t val, irq_cause;