[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210525133925.GB11166@alpha.franken.de>
Date: Tue, 25 May 2021 15:39:25 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org,
Manuel Lauss <manuel.lauss@...glemail.com>,
Ralf Baechle <ralf@...ux-mips.org>
Subject: Re: [PATCH] MIPS: alchemy: xxs1500: add gpio-au1000.h header file
On Sun, May 16, 2021 at 05:01:08PM -0700, Randy Dunlap wrote:
> board-xxs1500.c references 2 functions without declaring them, so add
> the header file to placate the build.
>
> ../arch/mips/alchemy/board-xxs1500.c: In function 'board_setup':
> ../arch/mips/alchemy/board-xxs1500.c:56:2: error: implicit declaration of function 'alchemy_gpio1_input_enable' [-Werror=implicit-function-declaration]
> 56 | alchemy_gpio1_input_enable();
> ../arch/mips/alchemy/board-xxs1500.c:57:2: error: implicit declaration of function 'alchemy_gpio2_enable'; did you mean 'alchemy_uart_enable'? [-Werror=implicit-function-declaration]
> 57 | alchemy_gpio2_enable();
>
> Fixes: 8e026910fcd4 ("MIPS: Alchemy: merge GPR/MTX-1/XXS1500 board code into single files")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> Cc: linux-mips@...r.kernel.org
> Cc: Manuel Lauss <manuel.lauss@...glemail.com>
> Cc: Ralf Baechle <ralf@...ux-mips.org>
> ---
> arch/mips/alchemy/board-xxs1500.c | 1 +
> 1 file changed, 1 insertion(+)
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 ]
Powered by blists - more mailing lists