Skip to content

Commit

Permalink
lib/trace_readwrite.c:: replace asm-generic/io with linux/io
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Tanzir Hasan <[email protected]>
Suggested-by: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
Tanzir Hasan authored and akpm00 committed Dec 29, 2023
1 parent 8e226a0 commit 037d88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trace_readwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 037d88f

Please sign in to comment.