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

Andreas Kemnade andreas at kemnade.info
Thu Apr 20 12:52:55 PDT 2023


Fix
include/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ token

Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
 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