[PATCH] scripts: include: rename printk.h to printf.h
Jules Maselbas
jmaselbas at zdiv.net
Wed Feb 5 02:25:49 PST 2025
The include scripts/include/asm-generic/bug.h relied on a printk.h
compatible header which is located in the scripts/include/ and was
not updated when printk.h was renamed to printf.h.
Fixes: d8ea946bcf ("include: rename printk.h to printf.h")
Signed-off-by: Jules Maselbas <jmaselbas at zdiv.net>
---
scripts/include/{printk.h => printf.h} | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
rename scripts/include/{printk.h => printf.h} (54%)
diff --git a/scripts/include/printk.h b/scripts/include/printf.h
similarity index 54%
rename from scripts/include/printk.h
rename to scripts/include/printf.h
index 363d32f2e5..2ce99c2fa8 100644
--- a/scripts/include/printk.h
+++ b/scripts/include/printf.h
@@ -1,9 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef __PRINTK_H
-#define __PRINTK_H
+#ifndef __PRINTF_H
+#define __PRINTF_H
#include <stdio.h>
-#define printk printf
-
#endif
--
2.48.1
More information about the barebox
mailing list