[PATCH] ARM: i.MX: bbu: fix compilation without CONFIG_BAREBOX_UPDATE

Marco Felsch m.felsch at pengutronix.de
Thu Apr 20 23:55:38 PDT 2023


Hi Andreas,

On 23-04-20, Andreas Kemnade wrote:
> Fix
> include/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ token

argh.. thanks a lot.

> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>

Reviewed-by: Marco Felsch <m.felsch at pengutronix.de>

> ---
>  include/mach/imx/bbu.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/mach/imx/bbu.h b/include/mach/imx/bbu.h
> index 451ae15740..50657d9895 100644
> --- a/include/mach/imx/bbu.h
> +++ b/include/mach/imx/bbu.h
> @@ -204,7 +204,7 @@ imx7_bbu_internal_spi_i2c_register_handler(const char *name, char *devicefile,
>  
>  static inline int
>  imx8m_bbu_internal_flexspi_nor_register_handler(const char *name, const char *devicefile,
> -						unsigned long flags);
> +						unsigned long flags)
>  {
>  	return -ENOSYS;
>  }
> -- 
> 2.39.2
> 
> 
> 



More information about the barebox mailing list