[PATCH] MIPS: sgi-ip30: Fix missing prototypes

Thomas Bogendoerfer posted 1 patch 1 year, 11 months ago
arch/mips/sgi-ip30/ip30-console.c | 1 +
arch/mips/sgi-ip30/ip30-setup.c   | 1 +
2 files changed, 2 insertions(+)
[PATCH] MIPS: sgi-ip30: Fix missing prototypes
Posted by Thomas Bogendoerfer 1 year, 11 months ago
Include needed header files.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
 arch/mips/sgi-ip30/ip30-console.c | 1 +
 arch/mips/sgi-ip30/ip30-setup.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/mips/sgi-ip30/ip30-console.c b/arch/mips/sgi-ip30/ip30-console.c
index b91f8c4fdc78..7c6dcf6e73f7 100644
--- a/arch/mips/sgi-ip30/ip30-console.c
+++ b/arch/mips/sgi-ip30/ip30-console.c
@@ -3,6 +3,7 @@
 #include <linux/io.h>
 
 #include <asm/sn/ioc3.h>
+#include <asm/setup.h>
 
 static inline struct ioc3_uartregs *console_uart(void)
 {
diff --git a/arch/mips/sgi-ip30/ip30-setup.c b/arch/mips/sgi-ip30/ip30-setup.c
index 75a34684e704..e8547636a748 100644
--- a/arch/mips/sgi-ip30/ip30-setup.c
+++ b/arch/mips/sgi-ip30/ip30-setup.c
@@ -14,6 +14,7 @@
 #include <linux/percpu.h>
 #include <linux/memblock.h>
 
+#include <asm/bootinfo.h>
 #include <asm/smp-ops.h>
 #include <asm/sgialib.h>
 #include <asm/time.h>
-- 
2.35.3
Re: [PATCH] MIPS: sgi-ip30: Fix missing prototypes
Posted by Thomas Bogendoerfer 1 year, 11 months ago
On Fri, Jan 19, 2024 at 02:37:57PM +0100, Thomas Bogendoerfer wrote:
> Include needed header files.
> 
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
>  arch/mips/sgi-ip30/ip30-console.c | 1 +
>  arch/mips/sgi-ip30/ip30-setup.c   | 1 +
>  2 files changed, 2 insertions(+)

applied to mips-fixes

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
Re: [PATCH] MIPS: sgi-ip30: Fix missing prototypes
Posted by Florian Fainelli 1 year, 11 months ago
On 1/19/24 05:37, Thomas Bogendoerfer wrote:
> Include needed header files.
> 
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian