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

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Oct 4 08:53:59 PDT 2022


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>
---
 include/bselftest.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/bselftest.h b/include/bselftest.h
index f03c803b6553..58d54c0728ce 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