Skip to contentSkip to conversation

lib: Replaced asm-generic/io with linux/io

PATCH Applied Tanzir Hasan 1 participant 1 message Dec 21, 2023 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: Replaced asm-generic/io with linux/io

asm-generic/io.h can be replaced with linux/io.h and the file will still build correctly. It is an asm-generic file which should be avoided if possible.

---
 lib/trace_readwrite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/trace_readwrite.c +1 -1
index 62b4e8b3c733..a94cd56a1e4c 100644
@@ -7,7 +7,7 @@
 
 #include <linux/ftrace.h>
 #include <linux/module.h>
-#include <asm-generic/io.h>
+#include <linux/io.h>
 
 #define CREATE_TRACE_POINTS
 #include <trace/events/rwmmio.h>

---
base-commit: 55cb5f43689d7a9ea5bf35ef050f12334f197347
change-id: 20231220-tracereadwrite-5ea130b1f137

Best regards,

Signature · 1 line
Tanzir Hasan <[email protected]>