]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MIPS: lantiq: falcon: sysctrl: add missing header prom.h
authorShiji Yang <yangshiji66@outlook.com>
Wed, 18 Jun 2025 14:53:22 +0000 (22:53 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 3 Jul 2025 10:35:11 +0000 (12:35 +0200)
"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>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/lantiq/falcon/sysctrl.c

index c65f0511555aaaa48ae435798948f70620a49c1b..9a8616c36500810336654a9b374b51880cdff19e 100644 (file)
@@ -14,6 +14,7 @@
 #include <lantiq_soc.h>
 
 #include "../clk.h"
+#include "../prom.h"
 
 /* infrastructure control register */
 #define SYS1_INFRAC            0x00bc