Re: [PATCH] MIPS: Alchemy: Fix missing prototypes

From: Thomas Bogendoerfer
Date: Mon Jan 22 2024 - 05:16:55 EST


On Wed, Jan 17, 2024 at 03:49:44PM -0800, Florian Fainelli wrote:
> We have a number of missing prototypes warnings for board_setup(),
> alchemy_set_lpj() and prom_init_cmdline(), prom_getenv() and
> prom_get_ethernet_addr(). Fix those by providing definitions for the
> first two functions in au1000.h which is included everywhere relevant,
> and including prom.h for the last three.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> arch/mips/alchemy/common/prom.c | 1 +
> arch/mips/alchemy/common/setup.c | 4 +---
> arch/mips/include/asm/mach-au1x00/au1000.h | 3 +++
> 3 files changed, 5 insertions(+), 3 deletions(-)

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 ]