From: Shiji Yang Date: Wed, 18 Jun 2025 14:53:22 +0000 (+0800) Subject: MIPS: lantiq: falcon: sysctrl: add missing header prom.h X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8a6156bd26240177e710fd8623bc2eb0ef0092cf;p=users%2Fjedix%2Flinux-maple.git MIPS: lantiq: falcon: sysctrl: add missing header prom.h "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 Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c index c65f0511555a..9a8616c36500 100644 --- a/arch/mips/lantiq/falcon/sysctrl.c +++ b/arch/mips/lantiq/falcon/sysctrl.c @@ -14,6 +14,7 @@ #include #include "../clk.h" +#include "../prom.h" /* infrastructure control register */ #define SYS1_INFRAC 0x00bc