[PATCH RESEND] test: include <linux/printk.h>

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Feb 17 12:42:04 PST 2023


We use pr_print logging in bselftest.h, so include the header that
defines these macros.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
Patch was part of reverted TLSF 8-byte alignment series, but is still
applicable, so resending it.
---
 include/bselftest.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/bselftest.h b/include/bselftest.h
index 2bae6cd1393d..c3f323864358 100644
--- a/include/bselftest.h
+++ b/include/bselftest.h
@@ -4,6 +4,7 @@
 
 #include <linux/compiler.h>
 #include <linux/list.h>
+#include <linux/printk.h>
 #include <init.h>
 
 enum bselftest_group {
-- 
2.30.2




More information about the barebox mailing list