diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2023-04-20 21:52:55 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-05-02 13:48:27 +0200 |
commit | 65e947456e0e45ae83cc935c136a2af8b99d220f (patch) | |
tree | 1e0a813686f2e682f1e946f815b56b95b1be4159 | |
parent | 039f3db2d94efc180f3c5117305c96464c808da5 (diff) | |
download | barebox-65e947456e0e45ae83cc935c136a2af8b99d220f.tar.gz |
ARM: i.MX: bbu: fix compilation without CONFIG_BAREBOX_UPDATE
Fix
include/mach/imx/bbu.h:208:1: error: expected identifier or ‘(’ before ‘{’ token
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Fixes: 6e0cb133be ("ARM: i.MX: bbu: add FlexSPI update handler")
Link: https://lore.barebox.org/20230420195255.1153119-1-andreas@kemnade.info
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/mach/imx/bbu.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |