realtek: include io.h in mach-rtl83xx.h
authorSander Vanheule <sander@svanheule.net>
Sun, 5 Dec 2021 10:44:50 +0000 (11:44 +0100)
committerSander Vanheule <sander@svanheule.net>
Sat, 11 Dec 2021 19:05:31 +0000 (20:05 +0100)
commite6b712fcae2d9bbdaf82817b440ff4d0268da64a
tree3d01cb3361969dd62ec3a427f8f1ece43967184a
parentc2407f4c473b3ee78fa3ee1a6f338cea54a30b6f
realtek: include io.h in mach-rtl83xx.h

The readl and writel calls used in macros defined in this header are not
included here. As a result, this header cannot be included by itself,
but must be preceded by other includes providing these calls. Fix this
by including asm/io.h in this header too.

Co-developed-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Bjørn Mork <bjorn@mork.no>
target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h