Message ID | 20240119133757.96563-1-tsbogend@alpha.franken.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 466c948476d199a1a0934fb7cdda85ecf87dbf05 |
Headers | show |
Series | MIPS: sgi-ip30: Fix missing prototypes | expand |
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>
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.
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>
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(+)