diff mbox series

[09/16] MIPS: lantiq: falcon: sysctrl: add missing header prom.h

Message ID OSBPR01MB16708393AA147F4AE8EB0597BC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com
State New
Headers show
Series MIPS: some compilation fixes for the Lantiq platform | expand

Commit Message

Shiji Yang June 18, 2025, 2:53 p.m. UTC
"prom.h" includes the prototype of ltq_soc_init(). Fix warning:

arch/mips/lantiq/falcon/sysctrl.c:185:13: error: no previous prototype for 'ltq_soc_init' [-Werror=missing-prototypes]
  185 | void __init ltq_soc_init(void)
      |             ^~~~~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
---
 arch/mips/lantiq/falcon/sysctrl.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c
index c65f05115..9a8616c36 100644
--- a/arch/mips/lantiq/falcon/sysctrl.c
+++ b/arch/mips/lantiq/falcon/sysctrl.c
@@ -14,6 +14,7 @@ 
 #include <lantiq_soc.h>
 
 #include "../clk.h"
+#include "../prom.h"
 
 /* infrastructure control register */
 #define SYS1_INFRAC		0x00bc