[PATCH 2/5] grlib/l2c: Use printk for debug print

Martin Åberg maberg at gaisler.com
Tue Jan 16 14:06:27 UTC 2024


---
 bsps/shared/grlib/l2c/l2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/shared/grlib/l2c/l2c.c b/bsps/shared/grlib/l2c/l2c.c
index 4be29c56a4..ef2a524d33 100644
--- a/bsps/shared/grlib/l2c/l2c.c
+++ b/bsps/shared/grlib/l2c/l2c.c
@@ -50,7 +50,7 @@
 /*#define DEBUG 1*/
 
 #ifdef DEBUG
-#define DBG(x...) printf(x)
+#define DBG(x...) printk(x)
 #else
 #define DBG(x...)
 #endif
-- 
2.34.1



More information about the devel mailing list