[PATCH 2/7] firmware: add missing include

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 19 06:24:08 PST 2024


include/firmware.h uses _text and as such needs asm/sections.h. Add the
missing include.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/firmware.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/firmware.h b/include/firmware.h
index 93c800e11b..361ff2f8ae 100644
--- a/include/firmware.h
+++ b/include/firmware.h
@@ -12,6 +12,7 @@
 #include <driver.h>
 #include <debug_ll.h>
 #include <linux/kernel.h>
+#include <asm/sections.h>
 
 struct firmware {
 	size_t size;
-- 
2.39.2




More information about the barebox mailing list