[PATCH 01/10] driver: include dev_print and family from <driver.h>

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Jun 14 06:54:43 PDT 2023


Linux drivers get dev_info and friends transitively when including
<linux/device.h>, so have barebox follow suit.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/driver.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/driver.h b/include/driver.h
index 613a0e4cfad2..9b6f01ae41a3 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -10,6 +10,7 @@
 #include <linux/ioport.h>
 #include <linux/uuid.h>
 #include <linux/bitops.h>
+#include <linux/printk.h>
 #include <of.h>
 #include <filetype.h>
 
-- 
2.39.2




More information about the barebox mailing list