ARM: i.MX: bbu: fix compilation without CONFIG_BAREBOX_UPDATE
PATCH 1/1 ARM: i.MX: bbu: fix compilation without CONFIG_BAREBOX_UPDATE
Fixinclude/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ token
Signed-off-by Andreas Kemnade <[email protected]>
--- include/mach/imx/bbu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/mach/imx/bbu.h +1 -1
@@ -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 ; }
Signature · 1 line
2.39.2
Quoted 4 lines · On Thu, 20 Apr 2023 21:52:55 +0200 Andreas Kemnade <[email protected]> wrote:
Fix
include/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ tokenSigned-off-by Andreas Kemnade <[email protected]>
should probably have added a fixes:
Fixes 6e0cb133be ("ARM: i.MX: bbu: add FlexSPI update handler")
Hi Andreas,
Quoted 2 lines · Andreas Kemnade
Fix
include/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ token
argh.. thanks a lot.
Quoted 1 line
Signed-off-by Andreas Kemnade <[email protected]>
Reviewed-by Marco Felsch <[email protected]>
Quoted 22 lines
--- include/mach/imx/bbu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/mach/imx/bbu.h +1
-1@@ -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 ; }Signature · 1 line
2.39.2
Sascha Hauer
AppliedQuoted 7 lines · Andreas Kemnade
Fix
include/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ tokenSigned-off-by Andreas Kemnade <[email protected]>--- include/mach/imx/bbu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
Quoted 19 lines
include/mach/imx/bbu.h +1
-1@@ -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 ; }Signature · 1 line
2.39.2
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |