<asm-generic/io.h> is a collection of default of various accessors. All the other architectures include <asm-generic/io.h> as a fallback. Do likewise for NIOS2. Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> --- arch/nios2/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 360d786ea..a964c695e 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -46,4 +46,6 @@ #define writel(val, addr)\ asm volatile("stwio %0, 0(%1)" : : "r" (val), "r" (addr)) +#include <asm-generic/io.h> + #endif /* __ASM_NIOS2_IO_H_ */ -- 2.25.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox