From 51d7614212018d01ff961ea7a02929a75c93f8a7 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 4 May 2020 23:24:55 +0900 Subject: common.h: move the generic IOMEM definition to asm-generic/io.h arch/mips/include/asm/io.h defines arch-specific IOMEM(). The generic definition of IOMEM() should go to asm-generic/io.h because it is a collection of fallback defaults when there is no specific definition in . Signed-off-by: Masahiro Yamada Signed-off-by: Sascha Hauer --- include/common.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 0bf819a6f4..ce16ff83af 100644 --- a/include/common.h +++ b/include/common.h @@ -135,8 +135,4 @@ const char *barebox_get_hostname(void); void barebox_set_hostname(const char *); void barebox_set_hostname_no_overwrite(const char *); -#ifndef IOMEM -#define IOMEM(addr) ((void __force __iomem *)(addr)) -#endif - #endif /* __COMMON_H_ */ -- cgit v1.2.3