[PATCH] openrisc: fix call to restart_handler_register_fn

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 28 23:42:53 PDT 2017


On Fri, Mar 24, 2017 at 08:35:22PM +0100, Franck Jullien wrote:
> Signed-off-by: Franck Jullien <franck.jullien at gmail.com>
> ---
>  arch/openrisc/cpu/cpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/openrisc/cpu/cpu.c b/arch/openrisc/cpu/cpu.c
> index d52b021..e7f9445 100644
> --- a/arch/openrisc/cpu/cpu.c
> +++ b/arch/openrisc/cpu/cpu.c
> @@ -41,6 +41,6 @@ static void __noreturn openrisc_restart_cpu(struct restart_handler *rst)
>  
>  static int restart_register_feature(void)
>  {
> -	restart_handler_register_fn(openrisc_restart_cpu, NULL, RESET_SCOPE_CPU);
> +	return restart_handler_register_fn(openrisc_restart_cpu);
>  }

Applied, thanks. It seems I have disabled my openrisc autobuild at some
point. Just re-enabled it. Normally such build failures shouldn't
happen.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list