lib/trace_readwrite.c:: replace asm-generic/io with linux/io
authorTanzir Hasan <tanzirh@google.com>
Thu, 21 Dec 2023 20:32:33 +0000 (20:32 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 20:22:29 +0000 (12:22 -0800)
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.

Link: https://lkml.kernel.org/r/20231221-tracereadwrite-v1-1-a434f25180c7@google.com
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/trace_readwrite.c

index 62b4e8b..a94cd56 100644 (file)
@@ -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>